diff options
author | unknown <monty@hundin.mysql.fi> | 2001-07-18 23:34:04 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-07-18 23:34:04 +0300 |
commit | 0e66a78a4deda14424dc2585caaba201c7fa573b (patch) | |
tree | cebfda868fd3ee75917f75e851c2dddb068293de /sql/sql_insert.cc | |
parent | 2cbf3b9b532e048dbe3d42669bff539c5864236e (diff) | |
download | mariadb-git-0e66a78a4deda14424dc2585caaba201c7fa573b.tar.gz |
Upgrade TL_WRITE_CONCURRENT_INSERT to TL_WRITE_LOW_PRIORITY if
--low-priority-updates is used and the file has holes.
Docs/manual.texi:
Changelog
sql/sql_insert.cc:
Fixed that sleeptime is 0 for new insert delayed threads.
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 14f4a732eac..50e4a6dedd4 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -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); |