1
0
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:
monty@mashka.mysql.fi
2003-02-10 17:59:16 +02:00
parent aee7346ec1
commit 48558055ed
19 changed files with 239 additions and 206 deletions

View File

@ -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