summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2011-09-01 11:27:14 +0000
committerUlf Wendel <uw@php.net>2011-09-01 11:27:14 +0000
commit9e79833943519e466998da17a311ba07fe6b3a7e (patch)
tree38ec652b6391c82b609e1e735b6a7d9cce4bb6cc
parent3814ee1e5deecc21a34c454011af224d70e17e41 (diff)
downloadphp-git-9e79833943519e466998da17a311ba07fe6b3a7e.tar.gz
Hack around http://bugs.mysql.com/62320
-rw-r--r--ext/mysqli/tests/mysqli_last_insert_id.phpt2
1 files changed, 1 insertions, 1 deletions
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);
}