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

fixed * without tables in IN bug

fixed sunction-test select in IN bug
fixed unions in subselect bug
This commit is contained in:
bell@sanja.is.com.ua
2002-11-28 19:29:26 +02:00
parent d2e5a5ddd2
commit b8b7d0b03b
35 changed files with 199 additions and 39 deletions

View File

@ -214,7 +214,11 @@ int st_select_lex_unit::exec()
if (dependent || !item || !item->assigned())
{
if (optimized && item && item->assigned())
{
item->assigned(0); // We will reinit & rexecute unit
item->assign_null();
table->file->delete_all_rows();
}
for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select())
{
thd->lex.current_select= sl;