mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
bug #1078. two innodb+delayed crashes
This commit is contained in:
@ -172,7 +172,10 @@ int mysql_insert(THD *thd,TABLE_LIST *table_list,
|
||||
else
|
||||
res= (table == 0);
|
||||
else
|
||||
{
|
||||
lock_type=TL_WRITE;
|
||||
res= open_and_lock_tables(thd, table_list);
|
||||
}
|
||||
}
|
||||
else
|
||||
res= open_and_lock_tables(thd, table_list);
|
||||
@ -627,6 +630,7 @@ public:
|
||||
thd.current_tablenr=0;
|
||||
thd.version=refresh_version;
|
||||
thd.command=COM_DELAYED_INSERT;
|
||||
thd.lex.current_select= 0; /* for my_message_sql */
|
||||
|
||||
bzero((char*) &thd.net,sizeof(thd.net)); // Safety
|
||||
thd.system_thread=1;
|
||||
|
Reference in New Issue
Block a user