mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge from 3.23.48 tree
BitKeeper/etc/logging_ok: auto-union Docs/manual.texi: Auto merged innobase/dict/dict0dict.c: Auto merged innobase/include/srv0srv.h: Auto merged innobase/mem/mem0dbg.c: Auto merged innobase/os/os0file.c: Auto merged innobase/que/que0que.c: Auto merged innobase/rem/rem0rec.c: Auto merged innobase/row/row0sel.c: Auto merged innobase/srv/srv0srv.c: Auto merged innobase/srv/srv0start.c: Auto merged innobase/sync/sync0arr.c: Auto merged innobase/trx/trx0trx.c: Auto merged innobase/trx/trx0undo.c: Auto merged myisam/mi_check.c: Auto merged mysql-test/t/join.test: Auto merged mysys/hash.c: Auto merged scripts/mysql_config.sh: Auto merged sql/ha_innodb.h: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged sql/sql_acl.cc: Auto merged
This commit is contained in:
@ -17,6 +17,8 @@ Created 10/10/1995 Heikki Tuuri
|
||||
#include "que0types.h"
|
||||
#include "trx0types.h"
|
||||
|
||||
/* Buffer which can be used in printing fatal error messages */
|
||||
extern char srv_fatal_errbuf[];
|
||||
|
||||
/* When this event is set the lock timeout and InnoDB monitor
|
||||
thread starts running */
|
||||
@ -262,15 +264,27 @@ This lets a thread enter InnoDB regardless of the number of threads inside
|
||||
InnoDB. This must be called when a thread ends a lock wait. */
|
||||
|
||||
void
|
||||
srv_conc_force_enter_innodb(void);
|
||||
/*=============================*/
|
||||
srv_conc_force_enter_innodb(
|
||||
/*========================*/
|
||||
trx_t* trx); /* in: transaction object associated with the
|
||||
thread */
|
||||
/*************************************************************************
|
||||
This must be called when a thread exits InnoDB. This must also be called
|
||||
when a thread goes to wait for a lock. */
|
||||
This must be called when a thread exits InnoDB in a lock wait or at the
|
||||
end of an SQL statement. */
|
||||
|
||||
void
|
||||
srv_conc_exit_innodb(void);
|
||||
/*======================*/
|
||||
srv_conc_force_exit_innodb(
|
||||
/*=======================*/
|
||||
trx_t* trx); /* in: transaction object associated with the
|
||||
thread */
|
||||
/*************************************************************************
|
||||
This must be called when a thread exits InnoDB. */
|
||||
|
||||
void
|
||||
srv_conc_exit_innodb(
|
||||
/*=================*/
|
||||
trx_t* trx); /* in: transaction object associated with the
|
||||
thread */
|
||||
/*******************************************************************
|
||||
Puts a MySQL OS thread to wait for a lock to be released. */
|
||||
|
||||
|
Reference in New Issue
Block a user