uw Wed, 22 Sep 2010 15:22:22 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=303682
Log: Test update for sql_mode = ansi Changed paths: U php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt U php/php-src/trunk/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt Modified: php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt 2010-09-22 15:16:07 UTC (rev 303681) +++ php/php-src/branches/PHP_5_3/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt 2010-09-22 15:22:22 UTC (rev 303682) @@ -74,8 +74,8 @@ if (!mysqli_query($link, "CREATE TABLE test(col_blob LONGBLOB) ENGINE=" . $engine)) printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); - $query_prefix = 'INSERT INTO test(col_blob) VALUES ("'; - $query_postfix = '")'; + $query_prefix = "INSERT INTO test(col_blob) VALUES ('"; + $query_postfix = "')"; $query_len = strlen($query_prefix) + strlen($query_postfix); $com_query_len = 2; Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt =================================================================== --- php/php-src/trunk/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt 2010-09-22 15:16:07 UTC (rev 303681) +++ php/php-src/trunk/ext/mysqli/tests/mysqli_insert_packet_overflow.phpt 2010-09-22 15:22:22 UTC (rev 303682) @@ -74,8 +74,8 @@ if (!mysqli_query($link, "CREATE TABLE test(col_blob LONGBLOB) ENGINE=" . $engine)) printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); - $query_prefix = 'INSERT INTO test(col_blob) VALUES ("'; - $query_postfix = '")'; + $query_prefix = "INSERT INTO test(col_blob) VALUES ('"; + $query_postfix = "')"; $query_len = strlen($query_prefix) + strlen($query_postfix); $com_query_len = 2;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php