1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Upgrade TL_WRITE_CONCURRENT_INSERT to TL_WRITE_LOW_PRIORITY if

--low-priority-updates is used and the file has holes.
This commit is contained in:
monty@hundin.mysql.fi
2001-07-18 23:34:04 +03:00
parent 0fb2e24ac5
commit 5a8e734b9a
5 changed files with 11 additions and 5 deletions

View File

@@ -871,6 +871,7 @@ static pthread_handler_decl(handle_delayed_insert,arg)
/* Add thread to THD list so that's it's visible in 'show processlist' */
pthread_mutex_lock(&LOCK_thread_count);
thd->thread_id=thread_id++;
thd->end_time();
threads.append(thd);
pthread_mutex_unlock(&LOCK_thread_count);