mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
revert
This commit is contained in:
@@ -39,9 +39,6 @@ PHP_FUNCTION(mysqli_connect)
|
||||
char *hostname, *username, *passwd, *dbname, *socket;
|
||||
int hostname_len, username_len, passwd_len, dbname_len, socket_len;
|
||||
long port=0;
|
||||
#if MYSQL_VERSION_ID > 50012
|
||||
my_bool my_true = 1;
|
||||
#endif
|
||||
|
||||
if (getThis() && !ZEND_NUM_ARGS()) {
|
||||
RETURN_NULL();
|
||||
@@ -86,10 +83,6 @@ PHP_FUNCTION(mysqli_connect)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if MYSQL_VERSION_ID > 50012
|
||||
mysql_options(mysql->mysql, MYSQL_OPT_RECONNECT, (const char *)&my_true);
|
||||
#endif
|
||||
|
||||
if (!socket) {
|
||||
socket = MyG(default_socket);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user