summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-12-23 07:14:51 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-12-23 07:14:51 +0200
commit73985d83014e2a484dffac135193a2f0cf715b54 (patch)
tree7167799ebc178519babd7000c76234665a9d6030 /sql/sql_lex.h
parent496532b5c54d69e012f6fc2417e97d61465588f2 (diff)
parentaade6e53d398dd287ca7e771191c9975099b4fa1 (diff)
downloadmariadb-git-73985d83014e2a484dffac135193a2f0cf715b54.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 65bce5d2579..d14843d0c24 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -1298,28 +1298,6 @@ public:
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().
Note that we set this member only in some cases, when this value