1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

removed using lex->select_lex.options is SHOW TABLE [STATUS] commands (BUG#4288)

mysql-test/r/func_group.result:
  fixed
mysql-test/r/ps.result:
  SHOW TABLE STATUS test
mysql-test/t/ps.test:
  SHOW TABLE STATUS test
sql/sql_parse.cc:
  Use lex->describe instead of lex->select_lex.options
sql/sql_yacc.yy:
  removed unneed initialization of lex->select_lex.options
This commit is contained in:
unknown
2004-06-27 00:34:05 +02:00
parent 1249934266
commit f7b9e75b15
5 changed files with 26 additions and 6 deletions

View File

@ -2938,7 +2938,7 @@ unsent_create_error:
goto error;
}
/* grant is checked in mysqld_show_tables */
if (select_lex->options & SELECT_DESCRIBE)
if (lex->describe)
res= mysqld_extend_show_tables(thd,db,
(lex->wild ? lex->wild->ptr() : NullS));
else