From: Scott MacVicar Date: Tue, 9 Oct 2007 16:56:38 +0000 (+0000) Subject: MFH: Add constant to allow setting of character set with mysqli_options prior to... X-Git-Tag: php-5.2.5RC1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6928bdc6bf7e24a2286c4368a76068b57d5e9890;p=php MFH: Add constant to allow setting of character set with mysqli_options prior to connection. --- diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 5c97009d52..ee9b804974 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -632,7 +632,7 @@ PHP_MINIT_FUNCTION(mysqli) REGISTER_LONG_CONSTANT("MYSQLI_TYPE_BIT", FIELD_TYPE_BIT, CONST_CS | CONST_PERSISTENT); #endif - + REGISTER_LONG_CONSTANT("MYSQLI_SET_CHARSET_NAME", MYSQL_SET_CHARSET_NAME, CONST_CS | CONST_PERSISTENT); /* replication */ REGISTER_LONG_CONSTANT("MYSQLI_RPL_MASTER", MYSQL_RPL_MASTER, CONST_CS | CONST_PERSISTENT);