summaryrefslogtreecommitdiff
path: root/innobase/include/lock0lock.ic
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-05-11 12:21:38 +0300
committerunknown <monty@mysql.com>2004-05-11 12:21:38 +0300
commit19f41e6e0df2d875cff2404f9bbbab30d81b72b1 (patch)
tree0752eb9dfe0f1e306cf9a542e09d9cc646c11a0f /innobase/include/lock0lock.ic
parentcb24e8b9b29f1aa3edfc4d7a61a9d842cb48ca69 (diff)
parentf3d691a970627f34ed825a9cf7b84520dcdd43b3 (diff)
downloadmariadb-git-19f41e6e0df2d875cff2404f9bbbab30d81b72b1.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0 sql/mysql_priv.h: Auto merged sql/opt_range.cc: Auto merged sql/sp.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_lex.cc: Auto merged sql-bench/limits/mysql-4.0.cfg: Auto merged
Diffstat (limited to 'innobase/include/lock0lock.ic')
-rw-r--r--innobase/include/lock0lock.ic2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/include/lock0lock.ic b/innobase/include/lock0lock.ic
index 64c43c88d2e..fabc9256401 100644
--- a/innobase/include/lock0lock.ic
+++ b/innobase/include/lock0lock.ic
@@ -64,7 +64,9 @@ lock_clust_rec_some_has_impl(
{
dulint trx_id;
+#ifdef UNIV_SYNC_DEBUG
ut_ad(mutex_own(&kernel_mutex));
+#endif /* UNIV_SYNC_DEBUG */
ut_ad(index->type & DICT_CLUSTERED);
ut_ad(page_rec_is_user_rec(rec));