andrey                                   Tue, 06 Oct 2009 12:53:01 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=289249

Log:
revert the last change

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c
    U   php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h
    U   php/php-src/trunk/ext/mysqlnd/mysqlnd.c
    U   php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h

Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c  2009-10-06 12:52:32 UTC 
(rev 289248)
+++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c  2009-10-06 12:53:01 UTC 
(rev 289249)
@@ -399,10 +399,6 @@
        SET_ERROR_AFF_ROWS(conn);
        SET_EMPTY_ERROR(conn->error_info);

-       if (command == COM_QUERY) {
-               ++conn->query_counter;
-       }
-
        PACKET_INIT_ALLOCA(cmd_packet, PROT_CMD_PACKET);
        cmd_packet.command = command;
        if (arg && arg_len) {

Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h  2009-10-06 
12:52:32 UTC (rev 289248)
+++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd_structs.h  2009-10-06 
12:53:01 UTC (rev 289249)
@@ -425,7 +425,6 @@
        */
        enum mysqlnd_connection_state   state;
        enum_mysqlnd_query_type                 last_query_type;
-       uint32_t                                                query_counter;
        /* Temporary storage between query and (use|store)_result() call */
        MYSQLND_RES                                             *current_result;


Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd.c
===================================================================
--- php/php-src/trunk/ext/mysqlnd/mysqlnd.c     2009-10-06 12:52:32 UTC (rev 
289248)
+++ php/php-src/trunk/ext/mysqlnd/mysqlnd.c     2009-10-06 12:53:01 UTC (rev 
289249)
@@ -399,10 +399,6 @@
        SET_ERROR_AFF_ROWS(conn);
        SET_EMPTY_ERROR(conn->error_info);

-       if (command == COM_QUERY) {
-               ++conn->query_counter;
-       }
-
        PACKET_INIT_ALLOCA(cmd_packet, PROT_CMD_PACKET);
        cmd_packet.command = command;
        if (arg && arg_len) {

Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h
===================================================================
--- php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h     2009-10-06 12:52:32 UTC 
(rev 289248)
+++ php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h     2009-10-06 12:53:01 UTC 
(rev 289249)
@@ -425,7 +425,6 @@
        */
        enum mysqlnd_connection_state   state;
        enum_mysqlnd_query_type                 last_query_type;
-       uint32_t                                                query_counter;
        /* Temporary storage between query and (use|store)_result() call */
        MYSQLND_RES                                             *current_result;


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to