mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Another build fix
This commit is contained in:
parent
bf92fa9569
commit
ae21a1ab79
@ -93,11 +93,13 @@ PHP_FUNCTION(mysqli_connect)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
#ifdef HAVE_MYSQLI_SET_CHARSET
|
||||
/* when PHP runs in unicode, set default character set to utf8 */
|
||||
if (UG(unicode)) {
|
||||
mysql_set_character_set(mysql->mysql, "utf8");
|
||||
mysql->conv = UG(utf8_conv);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* clear error */
|
||||
php_mysqli_set_error(mysql_errno(mysql->mysql), (char *) mysql_error(mysql->mysql) TSRMLS_CC);
|
||||
|
Loading…
Reference in New Issue
Block a user