Commit f830314f authored by Marko Mäkelä's avatar Marko Mäkelä

Remove dead code for non-debug builds

parent 40bae98c
...@@ -2351,6 +2351,7 @@ lock_rec_insert_by_trx_age( ...@@ -2351,6 +2351,7 @@ lock_rec_insert_by_trx_age(
return DB_SUCCESS; return DB_SUCCESS;
} }
#ifdef UNIV_DEBUG
static static
bool bool
lock_queue_validate( lock_queue_validate(
...@@ -2384,6 +2385,7 @@ lock_queue_validate( ...@@ -2384,6 +2385,7 @@ lock_queue_validate(
} }
return true; return true;
} }
#endif /* UNIV_DEBUG */
/*********************************************************************//** /*********************************************************************//**
Enqueues a waiting request for a lock which cannot be granted immediately. Enqueues a waiting request for a lock which cannot be granted immediately.
......
...@@ -2141,6 +2141,7 @@ lock_rec_insert_by_trx_age( ...@@ -2141,6 +2141,7 @@ lock_rec_insert_by_trx_age(
return DB_SUCCESS; return DB_SUCCESS;
} }
#ifdef UNIV_DEBUG
static static
bool bool
lock_queue_validate( lock_queue_validate(
...@@ -2174,6 +2175,7 @@ lock_queue_validate( ...@@ -2174,6 +2175,7 @@ lock_queue_validate(
} }
return true; return true;
} }
#endif /* UNIV_DEBUG */
static static
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment