andrey          Tue May 26 13:41:19 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/mysqlnd        mysqlnd_charset.c 
  Log:
  Fix a typo, utf8 is 3 byte max, for us, for now
  Add a another cset
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqlnd/mysqlnd_charset.c?r1=1.2.2.10&r2=1.2.2.11&diff_format=u
Index: php-src/ext/mysqlnd/mysqlnd_charset.c
diff -u php-src/ext/mysqlnd/mysqlnd_charset.c:1.2.2.10 
php-src/ext/mysqlnd/mysqlnd_charset.c:1.2.2.11
--- php-src/ext/mysqlnd/mysqlnd_charset.c:1.2.2.10      Fri Feb 20 13:25:12 2009
+++ php-src/ext/mysqlnd/mysqlnd_charset.c       Tue May 26 13:41:18 2009
@@ -404,6 +404,7 @@
        { 144, "ucs2", "ucs2_persian_ci", 2, 2, "", mysqlnd_mbcharlen_ucs2, 
check_mb_ucs2},
        { 145, "ucs2", "ucs2_esperanto_ci", 2, 2, "", mysqlnd_mbcharlen_ucs2, 
check_mb_ucs2},
        { 146, "ucs2", "ucs2_hungarian_ci", 2, 2, "", mysqlnd_mbcharlen_ucs2, 
check_mb_ucs2},
+       { 147, "ucs2", "ucs2_sinhala_ci", 2, 2, "", mysqlnd_mbcharlen_ucs2, 
check_mb_ucs2},
        { 192, "utf8", "utf8_general_ci", 1, 3, "", mysqlnd_mbcharlen_utf8, 
check_mb_utf8_valid},
        { 193, "utf8", "utf8_icelandic_ci", 1, 3, "", mysqlnd_mbcharlen_utf8, 
check_mb_utf8_valid},
        { 194, "utf8", "utf8_latvian_ci", 1, 3, "", mysqlnd_mbcharlen_utf8,  
check_mb_utf8_valid},
@@ -423,7 +424,7 @@
        { 208, "utf8", "utf8_persian_ci", 1, 3, "", mysqlnd_mbcharlen_utf8, 
check_mb_utf8_valid},
        { 209, "utf8", "utf8_esperanto_ci", 1, 3, "", mysqlnd_mbcharlen_utf8, 
check_mb_utf8_valid},
        { 210, "utf8", "utf8_hungarian_ci", 1, 3, "", mysqlnd_mbcharlen_utf8, 
check_mb_utf8_valid},
-       { 254, "utf8", "utf8_general_cs", 1, 2, "", mysqlnd_mbcharlen_utf8, 
check_mb_utf8_valid},
+       { 254, "utf8", "utf8_general_cs", 1, 3, "", mysqlnd_mbcharlen_utf8, 
check_mb_utf8_valid},
        {   0, NULL, NULL, 0, 0, NULL, NULL, NULL}
 };
 /* }}} */



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

Reply via email to