mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: formatting
also avoid an oxymoron of using `MYSQL_PLUGIN_IMPORT` under `#ifdef MYSQL_SERVER`, and empty_clex_str is so trivial that a plugin can define it if needed.
This commit is contained in:
@ -10364,10 +10364,8 @@ bool parse_sql(THD *thd, Parser_state *parser_state,
|
||||
|
||||
/* Parse the query. */
|
||||
|
||||
bool mysql_parse_status=
|
||||
((thd->variables.sql_mode & MODE_ORACLE) ?
|
||||
ORAparse(thd) :
|
||||
MYSQLparse(thd)) != 0;
|
||||
bool mysql_parse_status= thd->variables.sql_mode & MODE_ORACLE
|
||||
? ORAparse(thd) : MYSQLparse(thd);
|
||||
DBUG_ASSERT(opt_bootstrap || mysql_parse_status ||
|
||||
thd->lex->select_stack_top == 0);
|
||||
thd->lex->current_select= thd->lex->first_select_lex();
|
||||
|
Reference in New Issue
Block a user