Commit a3aed4bd authored by vasil's avatar vasil

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

Approved by:	Sunny
parent 147b4d43
...@@ -374,7 +374,7 @@ ulint ...@@ -374,7 +374,7 @@ 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);
...@@ -579,7 +579,7 @@ ulint ...@@ -579,7 +579,7 @@ 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