summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2014-06-18 16:20:14 +0300
committerAndrey Hristov <andrey@php.net>2014-06-18 16:20:14 +0300
commit21c9a9388fc3c3b88a48a7e25c932e1e2c008b81 (patch)
tree3cfb364983532dc0efef2bc3de44d39715727cb2
parent728c554f932d45384be0dd885d782bde21f4ee29 (diff)
downloadphp-git-21c9a9388fc3c3b88a48a7e25c932e1e2c008b81.tar.gz
Suppress test failure with MySQL 5.7
-rw-r--r--ext/mysqli/tests/table.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/table.inc b/ext/mysqli/tests/table.inc
index aa1207af44..cb089bb950 100644
--- a/ext/mysqli/tests/table.inc
+++ b/ext/mysqli/tests/table.inc
@@ -12,7 +12,7 @@ if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) {
exit(1);
}
-if (!mysqli_query($link, 'CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine)) {
+if (!mysqli_query($link, 'CREATE TABLE test(id INT DEFAULT 0, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine)) {
printf("Failed to create test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
exit(1);
}