mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Move tmp_table_used to THD
Optimize depending sub querys Remove valgrind warnings
This commit is contained in:
@ -63,8 +63,7 @@ my_bool simple_command(MYSQL *mysql,enum enum_server_command command,
|
||||
}
|
||||
|
||||
/* Clear result variables */
|
||||
thd->net.last_error[0]=0;
|
||||
thd->net.last_errno=0;
|
||||
thd->clear_error();
|
||||
mysql->affected_rows= ~(my_ulonglong) 0;
|
||||
|
||||
thd->store_globals(); // Fix if more than one connect
|
||||
|
Reference in New Issue
Block a user