Commit 2bf6fc8f authored by marko's avatar marko

branches/zip: lock_sec_rec_some_has_impl_off_kernel(): Make the function

static.  It is only called from lock0lock.c.
parent 06299ddd
...@@ -52,18 +52,6 @@ lock_sys_create( ...@@ -52,18 +52,6 @@ lock_sys_create(
/*============*/ /*============*/
ulint n_cells); /* in: number of slots in lock hash table */ ulint n_cells); /* in: number of slots in lock hash table */
/************************************************************************* /*************************************************************************
Checks if some transaction has an implicit x-lock on a record in a secondary
index. */
trx_t*
lock_sec_rec_some_has_impl_off_kernel(
/*==================================*/
/* out: transaction which has the x-lock, or
NULL */
const rec_t* rec, /* in: user record */
dict_index_t* index, /* in: secondary index */
const ulint* offsets);/* in: rec_get_offsets(rec, index) */
/*************************************************************************
Checks if some transaction has an implicit x-lock on a record in a clustered Checks if some transaction has an implicit x-lock on a record in a clustered
index. */ index. */
UNIV_INLINE UNIV_INLINE
......
...@@ -1576,7 +1576,7 @@ lock_rec_find_similar_on_page( ...@@ -1576,7 +1576,7 @@ lock_rec_find_similar_on_page(
/************************************************************************* /*************************************************************************
Checks if some transaction has an implicit x-lock on a record in a secondary Checks if some transaction has an implicit x-lock on a record in a secondary
index. */ index. */
static
trx_t* trx_t*
lock_sec_rec_some_has_impl_off_kernel( lock_sec_rec_some_has_impl_off_kernel(
/*==================================*/ /*==================================*/
......
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