1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
This commit is contained in:
Antony Dovgal
2007-04-23 09:26:58 +00:00
parent 445d6d59a3
commit 855446cd42
-7
View File
@@ -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);
}