diff options
author | unknown <kostja@vajra.(none)> | 2007-05-11 17:26:12 +0400 |
---|---|---|
committer | unknown <kostja@vajra.(none)> | 2007-05-11 17:26:12 +0400 |
commit | a0567199b118f14ec346249d91aabe2ee5d99354 (patch) | |
tree | 0457e0d1c6d9ce58028bbfc280e7d21426a8b771 /sql/sql_lex.h | |
parent | 30184f9624b93b12844f2076ae6b113a0cf1d619 (diff) | |
download | mariadb-git-a0567199b118f14ec346249d91aabe2ee5d99354.tar.gz |
Cleanup: now that we have Lex_input_stream, finish the transition
by moving yet another relevant flag to it from struct LEX.
mysql-test/r/ps.result:
Update result.
mysql-test/r/ps_1general.result:
Update result.
mysql-test/t/ps.test:
New error code.
mysql-test/t/ps_1general.test:
New error code.
sql/sql_lex.cc:
Move stmt_prepare_mode to Lex_input_stream.
sql/sql_lex.h:
Move stmt_prepare_mode to class Lex_input_stream
sql/sql_prepare.cc:
Move stmt_prepare_mode to Lex_input_stream
sql/sql_yacc.yy:
Remove dead code.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index d07de73d5b9..d34124095d3 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -954,6 +954,11 @@ public: /** SQL_MODE = IGNORE_SPACE. */ bool ignore_space; + /* + TRUE if we're parsing a prepared statement: in this mode + we should allow placeholders and disallow multi-statements. + */ + bool stmt_prepare_mode; }; @@ -1082,11 +1087,6 @@ typedef struct st_lex : public Query_tables_list to an .frm file. We need this definition to stay untouched. */ bool view_prepare_mode; - /* - TRUE if we're parsing a prepared statement: in this mode - we should allow placeholders and disallow multistatements. - */ - bool stmt_prepare_mode; bool safe_to_cache_query; bool subqueries, ignore; st_parsing_options parsing_options; |