From dc01e66027bc3b596fbe0160eedea532976c3004 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 6 Oct 2009 12:53:01 +0000 Subject: [PATCH] revert the last change --- ext/mysqlnd/mysqlnd.c | 4 ---- ext/mysqlnd/mysqlnd_structs.h | 1 - 2 files changed, 5 deletions(-) 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; -- 2.50.1