andrey                                   Mon, 16 Aug 2010 16:15:15 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=302360

Log:
Fix test, so it doesn't fail with MySQL 5.5, where InnoDB
is the default engine

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug35759.phpt
    U   php/php-src/trunk/ext/mysqli/tests/bug35759.phpt

Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug35759.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug35759.phpt 2010-08-16 
16:15:08 UTC (rev 302359)
+++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/bug35759.phpt 2010-08-16 
16:15:15 UTC (rev 302360)
@@ -18,7 +18,7 @@
        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) {

Modified: php/php-src/trunk/ext/mysqli/tests/bug35759.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/bug35759.phpt    2010-08-16 16:15:08 UTC 
(rev 302359)
+++ php/php-src/trunk/ext/mysqli/tests/bug35759.phpt    2010-08-16 16:15:15 UTC 
(rev 302360)
@@ -18,7 +18,7 @@
        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) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to