From: Andrey Hristov Date: Wed, 18 Jun 2014 13:20:14 +0000 (+0300) Subject: Suppress test failure with MySQL 5.7 X-Git-Tag: php-5.5.15RC1~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21c9a9388fc3c3b88a48a7e25c932e1e2c008b81;p=php Suppress test failure with MySQL 5.7 --- 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); }