Fix mysqli test wrt. MariaDB

The test results under MariaDB, except they report "MariaDB" instead
of MySQL.

Closes GH-10029.
This commit is contained in:
Daniel Black 2022-12-01 15:47:55 +11:00 committed by Christoph M. Becker
parent b79a86f53a
commit b77edf82ac
No known key found for this signature in database
GPG Key ID: D66C9593118BCCB6
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ print "done!";
require_once "clean_table.inc";
?>
--EXPECTF--
[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
[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
[006] [1062] Duplicate entry '1' for key '%s'
[009] mysqli::execute_query(): Argument #2 ($params) must consist of exactly 3 elements, 2 present
[010] mysqli::execute_query(): Argument #2 ($params) must be a list array

View File

@ -26,6 +26,6 @@ try {
print "done!";
?>
--EXPECT--
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
--EXPECTF--
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
done!