]> granicus.if.org Git - php/commitdiff
Forgot to commit this one, of the ANSI_QUOTES fame
authorAndrey Hristov <andrey@php.net>
Thu, 28 May 2009 18:10:12 +0000 (18:10 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 28 May 2009 18:10:12 +0000 (18:10 +0000)
ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt

index 6351c0b3de192de4fbcbad73519703dad28df602..6384d9fca798128404553ab3276975819b4c0abb 100644 (file)
@@ -43,7 +43,7 @@ mysqli_close($link);
        if ("±Ç´ë¼º\\0±Ç´ë¼º" !== ($tmp = mysqli_real_escape_string($link, "±Ç´ë¼º" . chr(0) . "±Ç´ë¼º")))
                printf("[009] Expecting %s, got %s\n", "±Ç´ë¼º\\0±Ç´ë¼º", $tmp);
 
-       var_dump(mysqli_query($link, 'INSERT INTO test(id, label) VALUES (100, "±Ç")'));
+       var_dump(mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, '±Ç')"));
 
        mysqli_close($link);
        print "done!";