diff options
-rw-r--r-- | client/mysqltest.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 8a51e0300b7..e1f69097b16 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -724,20 +724,6 @@ void close_connections() } -void close_statements() -{ - struct st_connection *con; - DBUG_ENTER("close_statements"); - for (con= connections; con < next_con; con++) - { - if (con->stmt) - mysql_stmt_close(con->stmt); - con->stmt= 0; - } - DBUG_VOID_RETURN; -} - - void close_files() { DBUG_ENTER("close_files"); @@ -2914,10 +2900,6 @@ void do_close_connection(struct st_command *command) } } #endif - if (next_con->stmt) - mysql_stmt_close(next_con->stmt); - next_con->stmt= 0; - mysql_close(&con->mysql); if (con->util_mysql) mysql_close(con->util_mysql); @@ -5905,7 +5887,6 @@ int main(int argc, char **argv) break; case Q_DISABLE_PS_PROTOCOL: ps_protocol_enabled= 0; - close_statements(); break; case Q_ENABLE_PS_PROTOCOL: ps_protocol_enabled= ps_protocol; |