hirokawa                                 Tue, 18 Oct 2011 14:28:21 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=318187

Log:
fixed maximum byte length of utf8mb4.

Changed paths:
    U   php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_charset.c

Modified: php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_charset.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_charset.c  2011-10-18 
14:28:01 UTC (rev 318186)
+++ php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_charset.c  2011-10-18 
14:28:21 UTC (rev 318187)
@@ -495,8 +495,8 @@
        {  42, "latin7", "latin7_general_cs", 1, 1, "", NULL, NULL},
        {  43, "macce", "macce_bin", 1, 1, "", NULL, NULL},
        {  44, "cp1250", "cp1250_croatian_ci", 1, 1, "", NULL, NULL},
-       {  45, UTF8_MB4, UTF8_MB4"_general_ci", 1, 3, "UTF-8 Unicode", 
mysqlnd_mbcharlen_utf8,  check_mb_utf8_valid},
-       {  46, UTF8_MB4, UTF8_MB4"_bin", 1, 3, "UTF-8 Unicode", 
mysqlnd_mbcharlen_utf8,  check_mb_utf8_valid},
+       {  45, UTF8_MB4, UTF8_MB4"_general_ci", 1, 4, "UTF-8 Unicode", 
mysqlnd_mbcharlen_utf8,  check_mb_utf8_valid},
+       {  46, UTF8_MB4, UTF8_MB4"_bin", 1, 4, "UTF-8 Unicode", 
mysqlnd_mbcharlen_utf8,  check_mb_utf8_valid},
        {  47, "latin1", "latin1_bin", 1, 1, "", NULL, NULL},
        {  48, "latin1", "latin1_general_ci", 1, 1, "", NULL, NULL},
        {  49, "latin1", "latin1_general_cs", 1, 1, "", NULL, NULL},

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

Reply via email to