Skip to content

Commit a8cfd18

Browse files
committed
Updated test case with no warning control case
1 parent 8e82448 commit a8cfd18

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/mysqli/tests/mysqli_report.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ require_once('skipifconnectfailure.inc');
8787
}
8888
mysqli_next_result($link);
8989

90+
$stmt = mysqli_prepare($link, "SELECT 1");
91+
mysqli_stmt_attr_set($stmt, MYSQLI_STMT_ATTR_CURSOR_TYPE, MYSQLI_CURSOR_TYPE_FOR_UPDATE);
92+
9093
/*
9194
Internal macro MYSQL_REPORT_STMT_ERROR
9295
*/

0 commit comments

Comments
 (0)