diff options
Diffstat (limited to 'storage/innobase/include/lock0priv.ic')
-rw-r--r-- | storage/innobase/include/lock0priv.ic | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/storage/innobase/include/lock0priv.ic b/storage/innobase/include/lock0priv.ic deleted file mode 100644 index 4bc8397509d..00000000000 --- a/storage/innobase/include/lock0priv.ic +++ /dev/null @@ -1,32 +0,0 @@ -/****************************************************** -Lock module internal inline methods. - -(c) 2007 Innobase Oy - -Created July 16, 2007 Vasil Dimov -*******************************************************/ - -/* This file contains only methods which are used in -lock/lock0* files, other than lock/lock0lock.c. -I.e. lock/lock0lock.c contains more internal inline -methods but they are used only in that file. */ - -#ifndef LOCK_MODULE_IMPLEMENTATION -#error Do not include lock0priv.ic outside of the lock/ module -#endif - -/************************************************************************* -Gets the type of a lock. */ -UNIV_INLINE -ulint -lock_get_type( -/*==========*/ - /* out: LOCK_TABLE or LOCK_REC */ - const lock_t* lock) /* in: lock */ -{ - ut_ad(lock); - - return(lock->type_mode & LOCK_TYPE_MASK); -} - -/* vim: set filetype=c: */ |