andrey          Thu May 28 18:00:08 2009 UTC

  Modified files:              
    /php-src/ext/mysqli/tests   mysqli_real_escape_string_big5.phpt 
                                mysqli_real_escape_string_eucjpms.phpt 
                                mysqli_real_escape_string_euckr.phpt 
                                mysqli_real_escape_string_gb2312.phpt 
                                mysqli_real_escape_string_gbk.phpt 
                                mysqli_real_escape_string_sjis.phpt 
  Log:
  Fix again the tests for ANSI_QUOTES
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_real_escape_string_big5.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_real_escape_string_big5.phpt
diff -u php-src/ext/mysqli/tests/mysqli_real_escape_string_big5.phpt:1.5 
php-src/ext/mysqli/tests/mysqli_real_escape_string_big5.phpt:1.6
--- php-src/ext/mysqli/tests/mysqli_real_escape_string_big5.phpt:1.5    Thu May 
28 14:11:40 2009
+++ php-src/ext/mysqli/tests/mysqli_real_escape_string_big5.phpt        Thu May 
28 18:00:08 2009
@@ -44,7 +44,7 @@
        if ("§ä¨ì¥H¤U¤º®e\\0§ä¨ì¥H¤U¤º®e" !== ($tmp = 
mysqli_real_escape_string($link, "§ä¨ì¥H¤U¤º®e" . chr(0) . "§ä¨ì¥H¤U¤º®e")))
                printf("[009] Expecting %s, got %s\n", 
"§ä¨ì¥H¤U¤º®e\\0§ä¨ì¥H¤U¤º®e", $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!";
@@ -52,4 +52,4 @@
 --EXPECTF--
 bool(true)
 bool(true)
-done!
\ No newline at end of file
+done!
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_real_escape_string_eucjpms.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_real_escape_string_eucjpms.phpt
diff -u php-src/ext/mysqli/tests/mysqli_real_escape_string_eucjpms.phpt:1.5 
php-src/ext/mysqli/tests/mysqli_real_escape_string_eucjpms.phpt:1.6
--- php-src/ext/mysqli/tests/mysqli_real_escape_string_eucjpms.phpt:1.5 Thu May 
28 14:11:40 2009
+++ php-src/ext/mysqli/tests/mysqli_real_escape_string_eucjpms.phpt     Thu May 
28 18:00:08 2009
@@ -43,7 +43,7 @@
        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!";
@@ -51,4 +51,4 @@
 --EXPECTF--
 bool(true)
 bool(true)
-done!
\ No newline at end of file
+done!
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt
diff -u php-src/ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt:1.5 
php-src/ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt:1.6
--- php-src/ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt:1.5   Thu May 
28 14:11:40 2009
+++ php-src/ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt       Thu May 
28 18:00:08 2009
@@ -51,4 +51,4 @@
 --EXPECTF--
 bool(true)
 bool(true)
-done!
\ No newline at end of file
+done!
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_real_escape_string_gb2312.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_real_escape_string_gb2312.phpt
diff -u php-src/ext/mysqli/tests/mysqli_real_escape_string_gb2312.phpt:1.5 
php-src/ext/mysqli/tests/mysqli_real_escape_string_gb2312.phpt:1.6
--- php-src/ext/mysqli/tests/mysqli_real_escape_string_gb2312.phpt:1.5  Thu May 
28 14:11:40 2009
+++ php-src/ext/mysqli/tests/mysqli_real_escape_string_gb2312.phpt      Thu May 
28 18:00:08 2009
@@ -44,7 +44,7 @@
        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!";
@@ -52,4 +52,4 @@
 --EXPECTF--
 bool(true)
 bool(true)
-done!
\ No newline at end of file
+done!
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_real_escape_string_gbk.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_real_escape_string_gbk.phpt
diff -u php-src/ext/mysqli/tests/mysqli_real_escape_string_gbk.phpt:1.5 
php-src/ext/mysqli/tests/mysqli_real_escape_string_gbk.phpt:1.6
--- php-src/ext/mysqli/tests/mysqli_real_escape_string_gbk.phpt:1.5     Thu May 
28 14:11:40 2009
+++ php-src/ext/mysqli/tests/mysqli_real_escape_string_gbk.phpt Thu May 28 
18:00:08 2009
@@ -46,7 +46,7 @@
        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!";
@@ -54,4 +54,4 @@
 --EXPECTF--
 bool(true)
 bool(true)
-done!
\ No newline at end of file
+done!
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_real_escape_string_sjis.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_real_escape_string_sjis.phpt
diff -u php-src/ext/mysqli/tests/mysqli_real_escape_string_sjis.phpt:1.5 
php-src/ext/mysqli/tests/mysqli_real_escape_string_sjis.phpt:1.6
--- php-src/ext/mysqli/tests/mysqli_real_escape_string_sjis.phpt:1.5    Thu May 
28 14:11:40 2009
+++ php-src/ext/mysqli/tests/mysqli_real_escape_string_sjis.phpt        Thu May 
28 18:00:08 2009
@@ -45,7 +45,7 @@
        if ("?p??\\0?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??" . 
chr(0) . "?p??")))
                printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp);
 
-       var_dump(mysqli_query($link, 'INSERT INTO test(id, label) VALUES (100, 
"?p")'));
+       var_dump(mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, 
'?p')"));
 
        mysqli_close($link);
        print "done!";
@@ -53,4 +53,4 @@
 --EXPECTF--
 bool(true)
 bool(true)
-done!
\ No newline at end of file
+done!



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

Reply via email to