]> granicus.if.org Git - php/commitdiff
Test update for sql_mode = ansi
authorUlf Wendel <uw@php.net>
Wed, 22 Sep 2010 15:22:22 +0000 (15:22 +0000)
committerUlf Wendel <uw@php.net>
Wed, 22 Sep 2010 15:22:22 +0000 (15:22 +0000)
ext/mysqli/tests/mysqli_insert_packet_overflow.phpt

index 35f35a5dc1771b77fb49d8b7563eb95ec8573508..c7f38fa0fc3fcf0df19e3d8618bd4e34256a402b 100644 (file)
@@ -74,8 +74,8 @@ memory_limit=256M
        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;