mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -1521,28 +1521,6 @@ public:
|
||||
Sroutine_hash_entry **sroutines_list_own_last;
|
||||
uint sroutines_list_own_elements;
|
||||
|
||||
/**
|
||||
Locking state of tables in this particular statement.
|
||||
|
||||
If we under LOCK TABLES or in prelocked mode we consider tables
|
||||
for the statement to be "locked" if there was a call to lock_tables()
|
||||
(which called handler::start_stmt()) for tables of this statement
|
||||
and there was no matching close_thread_tables() call.
|
||||
|
||||
As result this state may differ significantly from one represented
|
||||
by Open_tables_state::lock/locked_tables_mode more, which are always
|
||||
"on" under LOCK TABLES or in prelocked mode.
|
||||
*/
|
||||
enum enum_lock_tables_state {
|
||||
LTS_NOT_LOCKED = 0,
|
||||
LTS_LOCKED
|
||||
};
|
||||
enum_lock_tables_state lock_tables_state;
|
||||
bool is_query_tables_locked()
|
||||
{
|
||||
return (lock_tables_state == LTS_LOCKED);
|
||||
}
|
||||
|
||||
/**
|
||||
Number of tables which were open by open_tables() and to be locked
|
||||
by lock_tables().
|
||||
|
Reference in New Issue
Block a user