summaryrefslogtreecommitdiff
path: root/storage/xtradb/lock/lock0lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/lock/lock0lock.cc')
-rw-r--r--storage/xtradb/lock/lock0lock.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/xtradb/lock/lock0lock.cc b/storage/xtradb/lock/lock0lock.cc
index 8759cea9e6d..ddaeff69f10 100644
--- a/storage/xtradb/lock/lock0lock.cc
+++ b/storage/xtradb/lock/lock0lock.cc
@@ -2141,6 +2141,7 @@ lock_rec_insert_by_trx_age(
return DB_SUCCESS;
}
+#ifdef UNIV_DEBUG
static
bool
lock_queue_validate(
@@ -2174,6 +2175,7 @@ lock_queue_validate(
}
return true;
}
+#endif /* UNIV_DEBUG */
static
void