mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Hack around http://bugs.mysql.com/62320
This commit is contained in:
parent
3814ee1e5d
commit
9e79833943
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user