Skip to content

Commit ca51476

Browse files
committed
Fix mysqli test wrt. MariaDB
The test results under MariaDB, except they report "MariaDB" instead of MySQL.
1 parent 41fef8b commit ca51476

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/mysqli/tests/mysqli_execute_query.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ print "done!";
8989
require_once "clean_table.inc";
9090
?>
9191
--EXPECTF--
92-
[005] [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'some random gibberish' at line 1
92+
[005] [1064] You have an error in your SQL syntax; check the manual that corresponds to your %s server version for the right syntax to use near 'some random gibberish' at line 1
9393
[006] [1062] Duplicate entry '1' for key '%s'
9494
[009] mysqli::execute_query(): Argument #2 ($params) must consist of exactly 3 elements, 2 present
9595
[010] mysqli::execute_query(): Argument #2 ($params) must be a list array

ext/mysqli/tests/mysqli_reap_async_query_error.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ try {
2626

2727
print "done!";
2828
?>
29-
--EXPECT--
30-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
29+
--EXPECTF--
30+
You have an error in your SQL syntax; check the manual that corresponds to your %s server version for the right syntax to use near ')' at line 1
3131
done!

0 commit comments

Comments
 (0)