From: Ulf Wendel Date: Thu, 1 Sep 2011 11:27:14 +0000 (+0000) Subject: Hack around http://bugs.mysql.com/62320 X-Git-Tag: php-5.5.0alpha1~1399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48c1f47979682a211e8941d771aed43963f7bb36;p=php Hack around http://bugs.mysql.com/62320 --- diff --git a/ext/mysqli/tests/mysqli_last_insert_id.phpt b/ext/mysqli/tests/mysqli_last_insert_id.phpt index 353cb7a8a1..996c401f74 100644 --- a/ext/mysqli/tests/mysqli_last_insert_id.phpt +++ b/ext/mysqli/tests/mysqli_last_insert_id.phpt @@ -31,7 +31,7 @@ API vs. SQL LAST_INSERT_ID() $host, $user, $db, $port, $socket); if (!$link->query("DROP TABLE IF EXISTS test") || - !$link->query("CREATE TABLE test (id INT auto_increment, label varchar(10) not null, PRIMARY KEY (id))") || + !$link->query("CREATE TABLE test (id INT auto_increment, label varchar(10) not null, PRIMARY KEY (id)) ENGINE=MyISAM") || !$link->query("INSERT INTO test (id, label) VALUES (null, 'a')")) { printf("[002] [%d] %s\n", $link->errno, $link->error); }