Commit 4c8d01ef authored by vasil's avatar vasil

branches/zip:

Move lock_rec_find_set_bit() from lock0priv.h to lock0lock.h. This
function is needed in the INFORMATION_SCHEMA implementation which
currently resides in trx/

Approved by:	Marko
parent 97b8960b
......@@ -569,6 +569,18 @@ lock_rec_hash(
/* out: hashed value */
ulint space, /* in: space */
ulint page_no);/* in: page number */
/**************************************************************************
Looks for a set bit in a record lock bitmap. Returns ULINT_UNDEFINED,
if none found. */
ulint
lock_rec_find_set_bit(
/*==================*/
/* out: bit index == heap number of
the record, or ULINT_UNDEFINED if none found */
const lock_t* lock); /* in: record lock with at least one bit set */
/*************************************************************************
Gets the source table of an ALTER TABLE transaction. The table must be
covered by an IX or IS table lock. */
......
......@@ -72,17 +72,6 @@ lock_get_type(
/* out: LOCK_TABLE or LOCK_REC */
const lock_t* lock); /* in: lock */
/**************************************************************************
Looks for a set bit in a record lock bitmap. Returns ULINT_UNDEFINED,
if none found. */
ulint
lock_rec_find_set_bit(
/*==================*/
/* out: bit index == heap number of
the record, or ULINT_UNDEFINED if none found */
const lock_t* lock); /* in: record lock with at least one bit set */
/*************************************************************************
Gets the previous record lock set on a record. */
......
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