1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fixed wrong memory references found by purify

(No really critical errors found, but a few possible wrong results)
This commit is contained in:
monty@mysql.com
2005-02-28 11:59:46 +02:00
parent 88e1ebd01a
commit 253bfcf783
15 changed files with 148 additions and 56 deletions

View File

@ -688,7 +688,8 @@ public:
thd.current_tablenr=0;
thd.version=refresh_version;
thd.command=COM_DELAYED_INSERT;
thd.lex->current_select= 0; /* for my_message_sql */
thd.lex->current_select= 0; // for my_message_sql
thd.lex->sql_command= SQLCOM_INSERT; // For innodb::store_lock()
bzero((char*) &thd.net, sizeof(thd.net)); // Safety
bzero((char*) &table_list, sizeof(table_list)); // Safety