Commit 364404aa authored by vasil's avatar vasil

Add "const" qualifiers to lock_get_type() and lock_get_mode().

Approved by:	Sunny
parent f0c37bfc
......@@ -373,8 +373,8 @@ UNIV_INLINE
ulint
lock_get_type(
/*==========*/
/* out: LOCK_TABLE or LOCK_REC */
lock_t* lock) /* in: lock */
/* out: LOCK_TABLE or LOCK_REC */
const lock_t* lock) /* in: lock */
{
ut_ad(lock);
......@@ -578,8 +578,8 @@ UNIV_INLINE
ulint
lock_get_mode(
/*==========*/
/* out: mode */
lock_t* lock) /* in: lock */
/* out: mode */
const lock_t* lock) /* in: lock */
{
ut_ad(lock);
......
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