~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/lock0lock.h

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:27:09 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103032709-oyvfrc6eb8fzj0mr
fix docs warning: docs/unlock.rst:2: (WARNING/2) Title underline too short.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
Place, Suite 330, Boston, MA 02111-1307 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
59
59
/*============*/
60
60
        ulint   n_cells);       /*!< in: number of slots in lock hash table */
61
61
/*********************************************************************//**
 
62
Closes the lock system at database shutdown. */
 
63
UNIV_INTERN
 
64
void
 
65
lock_sys_close(void);
 
66
/*================*/
 
67
/*********************************************************************//**
62
68
Checks if some transaction has an implicit x-lock on a record in a clustered
63
69
index.
64
70
@return transaction which has the x-lock, or NULL */
630
636
/*=======================*/
631
637
        trx_t*  trx);   /*!< in: transaction */
632
638
/*******************************************************************//**
 
639
Check if a transaction holds any autoinc locks.
 
640
@return TRUE if the transaction holds any AUTOINC locks. */
 
641
UNIV_INTERN
 
642
ibool
 
643
lock_trx_holds_autoinc_locks(
 
644
/*=========================*/
 
645
        const trx_t*    trx);           /*!< in: transaction */
 
646
/*******************************************************************//**
633
647
Release all the transaction's autoinc locks. */
634
648
UNIV_INTERN
635
649
void