From 772cf37c3f2e1a1f4ba9fa552ac7fcfd78453f13 Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Sun, 17 Apr 2022 18:16:01 +0100 Subject: [PATCH] Added missing code comment --- reference/mysqli/mysqli_driver/report-mode.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/mysqli/mysqli_driver/report-mode.xml b/reference/mysqli/mysqli_driver/report-mode.xml index afff94393e..34557fb675 100644 --- a/reference/mysqli/mysqli_driver/report-mode.xml +++ b/reference/mysqli/mysqli_driver/report-mode.xml @@ -147,6 +147,7 @@ try { mysqli_report(MYSQLI_REPORT_ALL); try { + /* if the connection fails, a mysqli_sql_exception will be thrown */ $link = mysqli_connect("localhost", "my_user", "my_password", "my_db"); /* this query should report an error */