mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -1053,21 +1053,6 @@ public:
|
||||
|
||||
LEX_STRING name; /* name for named prepared statements */
|
||||
LEX *lex; // parse tree descriptor
|
||||
/*
|
||||
LEX which represents current statement (conventional, SP or PS)
|
||||
|
||||
For example during view parsing THD::lex will point to the views LEX and
|
||||
THD::stmt_lex will point to LEX of the statement where the view will be
|
||||
included
|
||||
|
||||
Currently it is used to have always correct select numbering inside
|
||||
statement (LEX::current_select_number) without storing and restoring a
|
||||
global counter which was THD::select_number.
|
||||
|
||||
TODO: make some unified statement representation (now SP has different)
|
||||
to store such data like LEX::current_select_number.
|
||||
*/
|
||||
LEX *stmt_lex;
|
||||
/*
|
||||
Points to the query associated with this statement. It's const, but
|
||||
we need to declare it char * because all table handlers are written
|
||||
|
Reference in New Issue
Block a user