Commit afba0de8 authored by unknown's avatar unknown

Cset exclude: msvensson@neptunus.(none)|ChangeSet|20061204181655|04883


client/mysqltest.c:
  Exclude
parent c7457bdf
...@@ -724,20 +724,6 @@ void close_connections() ...@@ -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() void close_files()
{ {
DBUG_ENTER("close_files"); DBUG_ENTER("close_files");
...@@ -2914,10 +2900,6 @@ void do_close_connection(struct st_command *command) ...@@ -2914,10 +2900,6 @@ void do_close_connection(struct st_command *command)
} }
} }
#endif #endif
if (next_con->stmt)
mysql_stmt_close(next_con->stmt);
next_con->stmt= 0;
mysql_close(&con->mysql); mysql_close(&con->mysql);
if (con->util_mysql) if (con->util_mysql)
mysql_close(con->util_mysql); mysql_close(con->util_mysql);
...@@ -5905,7 +5887,6 @@ int main(int argc, char **argv) ...@@ -5905,7 +5887,6 @@ int main(int argc, char **argv)
break; break;
case Q_DISABLE_PS_PROTOCOL: case Q_DISABLE_PS_PROTOCOL:
ps_protocol_enabled= 0; ps_protocol_enabled= 0;
close_statements();
break; break;
case Q_ENABLE_PS_PROTOCOL: case Q_ENABLE_PS_PROTOCOL:
ps_protocol_enabled= ps_protocol; ps_protocol_enabled= ps_protocol;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment