From: Andrey Hristov Date: Tue, 6 Oct 2009 12:53:01 +0000 (+0000) Subject: revert the last change X-Git-Tag: php-5.4.0alpha1~191^2~2541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc01e66027bc3b596fbe0160eedea532976c3004;p=php revert the last change --- diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c index e8449e057e..904a310dba 100644 --- a/ext/mysqlnd/mysqlnd.c +++ b/ext/mysqlnd/mysqlnd.c @@ -399,10 +399,6 @@ mysqlnd_simple_command(MYSQLND *conn, enum php_mysqlnd_server_command command, 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) { diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index af1cdd1a5e..9612fa3fce 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -425,7 +425,6 @@ struct st_mysqlnd_connection */ 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;