1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed some issues found by valgrind

(one testcase, one memory leak and some accesses to not initialized memory)
This commit is contained in:
monty@mysql.com
2006-06-06 02:47:30 +03:00
parent 430347f126
commit a703ff60c7
9 changed files with 36 additions and 13 deletions

View File

@ -228,7 +228,7 @@ THD::THD()
hash_clear(&handler_tables_hash);
tmp_table=0;
used_tables=0;
cuted_fields= sent_row_count= 0L;
cuted_fields= sent_row_count= row_count= 0L;
limit_found_rows= 0;
statement_id_counter= 0UL;
#ifdef ERROR_INJECT_SUPPORT