]> granicus.if.org Git - php/commitdiff
Fix test, so it doesn't fail with MySQL 5.5, where InnoDB
authorAndrey Hristov <andrey@php.net>
Mon, 16 Aug 2010 16:15:15 +0000 (16:15 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 16 Aug 2010 16:15:15 +0000 (16:15 +0000)
is the default engine

ext/mysqli/tests/bug35759.phpt

index bcf9cb8e67c543971735f852b1d41ad4d623219a..99c1380d95ab89061f59452b29f644675cdb9054 100644 (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) {