]> granicus.if.org Git - php/commitdiff
revert
authorAntony Dovgal <tony2001@php.net>
Mon, 23 Apr 2007 09:27:07 +0000 (09:27 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 23 Apr 2007 09:27:07 +0000 (09:27 +0000)
NEWS
ext/mysqli/mysqli_nonapi.c

diff --git a/NEWS b/NEWS
index 1fdff12206d06ae3bed6b95442d9e50b738c1d8e..e11f43f3d3e4f55e8945656c0ba7ce9674108103 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,8 +12,6 @@ PHP                                                                        NEWS
 - Fixed bug #41109 (recursiveiterator.inc says "implements" Iterator instead of
   "extends"). (Marcus)
 - Fixed bug #41093 (magic_quotes_gpc ignores first arrays keys). (Arpad, Ilia)
-- Fixed bug #41083 (mysql_ping() requires MYSQL_OPT_RECONNECT to be set since 
-  MySQL 5.0.13). (xiaojb at gmail dot com, Tony)
 - Fixed bug #41075 (memleak when creating default object caused exception). 
   (Dmitry)
 - Fixed bug #41067 (json_encode() problem with UTF-16 input). (jp at df5ea
index ccbdeba83692e99e3810687a05a4ebafa47cf67f..57685d95edf38f2fa81e822a3e6aba58e46c3129 100644 (file)
@@ -39,9 +39,6 @@ PHP_FUNCTION(mysqli_connect)
        char                            *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL;
        unsigned int            hostname_len = 0, username_len = 0, passwd_len = 0, dbname_len = 0, socket_len = 0;
        long                            port=0;
-#if MYSQL_VERSION_ID > 50012
-       my_bool                         my_true = 1;
-#endif
 
        if (getThis() && !ZEND_NUM_ARGS()) {
                RETURN_NULL();
@@ -87,10 +84,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);
        }