~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/lock0priv.ic

  • Committer: Monty Taylor
  • Date: 2009-08-12 06:25:19 UTC
  • mto: (1114.1.1 innodb-plugin-merge)
  • mto: This revision was merged to the branch mainline in revision 1183.
  • Revision ID: mordred@inaugust.com-20090812062519-cij02mrrunvnxblt
Tags: innodb-plugin-1.0.4
InnoDB Plugin 1.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
*****************************************************************************/
18
18
 
19
 
/******************************************************
 
19
/**************************************************//**
 
20
@file include/lock0priv.ic
20
21
Lock module internal inline methods.
21
22
 
22
23
Created July 16, 2007 Vasil Dimov
31
32
#error Do not include lock0priv.ic outside of the lock/ module
32
33
#endif
33
34
 
34
 
/*************************************************************************
35
 
Gets the type of a lock. */
 
35
/*********************************************************************//**
 
36
Gets the type of a lock.
 
37
@return LOCK_TABLE or LOCK_REC */
36
38
UNIV_INLINE
37
39
ulint
38
40
lock_get_type_low(
39
41
/*==============*/
40
 
                                /* out: LOCK_TABLE or LOCK_REC */
41
 
        const lock_t*   lock)   /* in: lock */
 
42
        const lock_t*   lock)   /*!< in: lock */
42
43
{
43
44
        ut_ad(lock);
44
45