compilation failure
At least it would be a compilation failure with -DDONT_ALLOW_SHOW_COMMANDS. Otherwise it only confuses ctags to ignore ~75% of sql_parse.cc
This commit is contained in:
parent
b6862c914f
commit
f2d24ea68b
@ -1631,12 +1631,12 @@ int prepare_schema_table(THD *thd, LEX *lex, Table_ident *table_ident,
|
|||||||
#endif
|
#endif
|
||||||
case SCH_COLUMNS:
|
case SCH_COLUMNS:
|
||||||
case SCH_STATISTICS:
|
case SCH_STATISTICS:
|
||||||
{
|
|
||||||
#ifdef DONT_ALLOW_SHOW_COMMANDS
|
#ifdef DONT_ALLOW_SHOW_COMMANDS
|
||||||
my_message(ER_NOT_ALLOWED_COMMAND,
|
my_message(ER_NOT_ALLOWED_COMMAND,
|
||||||
ER(ER_NOT_ALLOWED_COMMAND), MYF(0)); /* purecov: inspected */
|
ER(ER_NOT_ALLOWED_COMMAND), MYF(0)); /* purecov: inspected */
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
#else
|
#else
|
||||||
|
{
|
||||||
DBUG_ASSERT(table_ident);
|
DBUG_ASSERT(table_ident);
|
||||||
TABLE_LIST **query_tables_last= lex->query_tables_last;
|
TABLE_LIST **query_tables_last= lex->query_tables_last;
|
||||||
schema_select_lex= new SELECT_LEX();
|
schema_select_lex= new SELECT_LEX();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user