andrey                                   Mon, 27 Sep 2010 12:37:23 +0000

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

Log:
Fixed bug #45921 (Can't initialize character set hebrew)
sorry for committing it separated

Bug: http://bugs.php.net/45921 (Feedback) Can't initialize character set hebrew 
(path: C:\mysql\\share\charsets\) 
      
Changed paths:
    U   php/php-src/trunk/ext/mysqli/mysqli.c
    U   php/php-src/trunk/ext/mysqli/tests/mysqli_constants.phpt

Modified: php/php-src/trunk/ext/mysqli/mysqli.c
===================================================================
--- php/php-src/trunk/ext/mysqli/mysqli.c       2010-09-27 12:35:59 UTC (rev 
303781)
+++ php/php-src/trunk/ext/mysqli/mysqli.c       2010-09-27 12:37:23 UTC (rev 
303782)
@@ -766,6 +766,7 @@
 #endif

        REGISTER_LONG_CONSTANT("MYSQLI_SET_CHARSET_NAME", 
MYSQL_SET_CHARSET_NAME, CONST_CS | CONST_PERSISTENT);
+       REGISTER_LONG_CONSTANT("MYSQLI_SET_CHARSET_DIR", MYSQL_SET_CHARSET_DIR, 
CONST_CS | CONST_PERSISTENT);

        /* bind support */
        REGISTER_LONG_CONSTANT("MYSQLI_NO_DATA", MYSQL_NO_DATA, CONST_CS | 
CONST_PERSISTENT);

Modified: php/php-src/trunk/ext/mysqli/tests/mysqli_constants.phpt
===================================================================
--- php/php-src/trunk/ext/mysqli/tests/mysqli_constants.phpt    2010-09-27 
12:35:59 UTC (rev 303781)
+++ php/php-src/trunk/ext/mysqli/tests/mysqli_constants.phpt    2010-09-27 
12:37:23 UTC (rev 303782)
@@ -84,6 +84,7 @@
                "MYSQLI_REPORT_ERROR"                           => true,
                "MYSQLI_REPORT_OFF"                                     => true,
                "MYSQLI_SET_CHARSET_NAME"                       => true,
+               "MYSQLI_SET_CHARSET_DIR"                        => true,
                "MYSQLI_REFRESH_GRANT"                          => true,
                "MYSQLI_REFRESH_LOG"                                    => true,
                "MYSQLI_REFRESH_TABLES"                         => true,

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

Reply via email to