summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-04-23 09:26:58 +0000
committerAntony Dovgal <tony2001@php.net>2007-04-23 09:26:58 +0000
commit855446cd42321cd9ea7dc633a79707eccb738cdb (patch)
tree20dc94229b5029a5a4a064907c6bb0c222de5262
parent445d6d59a3058fe3f5315df08d13da9fe6e3abe7 (diff)
downloadphp-git-855446cd42321cd9ea7dc633a79707eccb738cdb.tar.gz
revert
-rw-r--r--ext/mysqli/mysqli_nonapi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c
index 9e3b57a360..55086547d9 100644
--- a/ext/mysqli/mysqli_nonapi.c
+++ b/ext/mysqli/mysqli_nonapi.c
@@ -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);
}