summaryrefslogtreecommitdiff
path: root/mysys/thr_lock.c
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-05-17 00:46:50 +0300
committermonty@donna.mysql.fi <>2001-05-17 00:46:50 +0300
commit2ba0846a60ac43e1ef477bdfd95c37901b6c7fe7 (patch)
treebfa83a61c2689e0f64e7be02d414bcf366c068a1 /mysys/thr_lock.c
parentb708df267d6fb180368f84405fbc06006a318f55 (diff)
downloadmariadb-git-2ba0846a60ac43e1ef477bdfd95c37901b6c7fe7.tar.gz
Fixed bug when using MERGE on files > 4G
Fixed bug in SELECT db1.table.* FROM db1.table,db2.table Fixed bug in INSERT DELAYED when doing shutdown and a table was locked Changed that tmp_table_size =4G-1 means unlimited.
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r--mysys/thr_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c
index ed21d466b35..74548b7fa12 100644
--- a/mysys/thr_lock.c
+++ b/mysys/thr_lock.c
@@ -370,7 +370,7 @@ static my_bool wait_for_lock(struct st_lock_list *wait, THR_LOCK_DATA *data,
do
{
pthread_cond_wait(cond,&data->lock->mutex);
- } while (data->cond == cond && !thread_var->abort);
+ } while (data->cond == cond && (!thread_var->abort || in_wait_list));
if (data->cond || data->type == TL_UNLOCK)
{