1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Just making commit in order to stop getting erors.

Will do a push when it starts working ..
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-07-16 22:42:53 +03:00
parent 6377f501df
commit c5738005c4
8 changed files with 64 additions and 8 deletions

View File

@@ -49,7 +49,13 @@ int mysql_union(THD *thd, LEX *lex,select_result *result)
for (TABLE_LIST *cursor= (TABLE_LIST *)sl->table_list.first;
cursor;
cursor=cursor->next)
cursor->table= ((TABLE_LIST*) cursor->table)->table;
{
if (cursor->do_redirect)
{
cursor->table= ((TABLE_LIST*) cursor->table)->table;
cursor->do_redirect=false;
}
}
}
/* last_sel now points at the last select where the ORDER BY is stored */