summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-06-25 21:56:23 +0300
committerunknown <monty@mysql.com>2004-06-25 21:56:23 +0300
commitba8ffc50a96897f85f32c01485d44730b9deb383 (patch)
tree06dc93aec118ef2da622d0ade5ab9cf7f4664b88 /sql/sql_insert.cc
parentc6e23c85493688417c0274b4630a6b7c44f59d10 (diff)
downloadmariadb-git-ba8ffc50a96897f85f32c01485d44730b9deb383.tar.gz
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
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index a946dec4f35..b769178565b 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -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);