1
0
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:
Sinisa@sinisa.nasamreza.org
2002-11-29 14:49:07 +02:00
parent 8a53d1ca6a
commit 481bcd5750
7 changed files with 24 additions and 14 deletions

View File

@ -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 ...
}
}