summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2006-02-20 18:04:50 +0100
committerunknown <ingo@mysql.com>2006-02-20 18:04:50 +0100
commit10876da86467fc891e05bec9a1b6fdfd186a80ba (patch)
tree27733663aeec1190810214657feaf3e2a079bd36 /sql/lock.cc
parent5785c37e6e66b9778067b11be002f42826aa7a74 (diff)
downloadmariadb-git-10876da86467fc891e05bec9a1b6fdfd186a80ba.tar.gz
BUG#5390 - problems with merge tables
Fix for merge from 4.1.
Diffstat (limited to 'sql/lock.cc')
-rw-r--r--sql/lock.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/lock.cc b/sql/lock.cc
index 22c3b03f8c1..01cdca0b6ee 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -159,8 +159,6 @@ MYSQL_LOCK *mysql_lock_tables(THD *thd, TABLE **tables, uint count,
memcpy(sql_lock->locks + sql_lock->lock_count, sql_lock->locks,
sql_lock->lock_count * sizeof(*sql_lock->locks));
/* Lock on the copied half of the lock data array. */
- if (thr_multi_lock(sql_lock->locks + sql_lock->lock_count,
- sql_lock->lock_count))
rc= thr_lock_errno_to_mysql[(int) thr_multi_lock(sql_lock->locks +
sql_lock->lock_count,
sql_lock->lock_count,