mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
many bug fixes
This commit is contained in:
@ -106,9 +106,9 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, TABLE_LIST *t)
|
||||
t->table=table;
|
||||
table->derived_select_number= sl->select_number;
|
||||
table->tmp_table=TMP_TABLE;
|
||||
if (!lex->describe)
|
||||
if (lex->describe)
|
||||
sl->exclude();
|
||||
t->db=(tables && tables->db) ? tables->db : (char *)"";
|
||||
t->db=(char *)"";
|
||||
t->derived=(SELECT_LEX *)0; // just in case ...
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user