Fix test, so it doesn't fail with MySQL 5.5, where InnoDB

is the default engine
This commit is contained in:
Andrey Hristov 2010-08-16 16:15:15 +00:00
parent 3ed9d8fd85
commit 5d54d79e04

View File

@ -18,7 +18,7 @@ require_once('skipifconnectfailure.inc');
while (++$i < $col_num) {
$create .= ", a$i MEDIUMBLOB NOT NULL DEFAULT ''";
}
$create .= ")";
$create .= ") ENGINE=MyISAM"; // doesn't work with InnoDB, which is default in 5.5
if (!$mysql->query($create)) {
if (1101 == $mysql->errno) {