~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Renamed strings to mystrings, for include/lib naming consistency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
Gets the type of a lock. */
68
68
UNIV_INLINE
69
69
ulint
70
 
lock_get_type_low(
71
 
/*==============*/
 
70
lock_get_type(
 
71
/*==========*/
72
72
                                /* out: LOCK_TABLE or LOCK_REC */
73
73
        const lock_t*   lock);  /* in: lock */
74
74
 
 
75
/**************************************************************************
 
76
Looks for a set bit in a record lock bitmap. Returns ULINT_UNDEFINED,
 
77
if none found. */
 
78
 
 
79
ulint
 
80
lock_rec_find_set_bit(
 
81
/*==================*/
 
82
                        /* out: bit index == heap number of the record, or
 
83
                        ULINT_UNDEFINED if none found */
 
84
        lock_t* lock);  /* in: record lock with at least one bit set */
 
85
 
75
86
/*************************************************************************
76
87
Gets the previous record lock set on a record. */
77
88
 
78
 
const lock_t*
 
89
lock_t*
79
90
lock_rec_get_prev(
80
91
/*==============*/
81
 
                                /* out: previous lock on the same
82
 
                                record, NULL if none exists */
83
 
        const lock_t*   in_lock,/* in: record lock */
84
 
        ulint           heap_no);/* in: heap number of the record */
 
92
                        /* out: previous lock on the same record, NULL if
 
93
                        none exists */
 
94
        lock_t* in_lock,/* in: record lock */
 
95
        ulint   heap_no);/* in: heap number of the record */
85
96
 
86
97
#ifndef UNIV_NONINL
87
98
#include "lock0priv.ic"