summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-07-18 23:34:04 +0300
committerunknown <monty@hundin.mysql.fi>2001-07-18 23:34:04 +0300
commit0e66a78a4deda14424dc2585caaba201c7fa573b (patch)
treecebfda868fd3ee75917f75e851c2dddb068293de /sql/sql_insert.cc
parent2cbf3b9b532e048dbe3d42669bff539c5864236e (diff)
downloadmariadb-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.cc1
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);