com php-src: Suppress test failure with MySQL 5.7: ext/mysqli/tests/table.inc
| From: | Andrey Hristov | Date: | Wed, 18 Jun 2014 13:20:14 +0000 |
| Subject: | com php-src: Suppress test failure with MySQL 5.7: ext/mysqli/tests/table.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78950@lists.php.net to get a copy of this message | ||
Commit: 21c9a9388fc3c3b88a48a7e25c932e1e2c008b81
Author: Andrey Hristov <andrey@php.net> Wed, 18 Jun 2014 16:20:14 +0300
Parents: 728c554f932d45384be0dd885d782bde21f4ee29
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=21c9a9388fc3c3b88a48a7e25c932e1e2c008b81
Log:
Suppress test failure with MySQL 5.7
Changed paths:
M ext/mysqli/tests/table.inc
Diff:
diff --git a/ext/mysqli/tests/table.inc b/ext/mysqli/tests/table..inc
index aa1207a..cb089bb 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);
}