mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
After merge fixes
include/mysql.h: Cleanup sql-common/client.c: Allow client.c to compile after changes to mysql.h sql/opt_range.cc: Make bdb.test repeatable (and assume that table scans is a little bit slower) sql/sql_handler.cc: Fixed typo during merge sql/sql_insert.cc: Fixed indentation
This commit is contained in:
@@ -1219,8 +1219,10 @@ extern "C" pthread_handler_decl(handle_delayed_insert,arg)
|
||||
di->status=0;
|
||||
if (!di->stacked_inserts && !di->tables_in_use && thd->lock)
|
||||
{
|
||||
/* No one is doing a insert delayed;
|
||||
Unlock it so that other threads can use it */
|
||||
/*
|
||||
No one is doing a insert delayed
|
||||
Unlock table so that other threads can use it
|
||||
*/
|
||||
MYSQL_LOCK *lock=thd->lock;
|
||||
thd->lock=0;
|
||||
pthread_mutex_unlock(&di->mutex);
|
||||
|
Reference in New Issue
Block a user