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