1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

DBUG_ASSERT(fixed == 0) added to fix_fields()

This commit is contained in:
bell@sanja.is.com.ua
2004-03-17 14:26:26 +02:00
parent b8c065c527
commit 8035ce40ec
18 changed files with 296 additions and 99 deletions

View File

@@ -151,7 +151,11 @@ static int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
if (is_union)
res= mysql_union(thd, lex, derived_result, unit);
{
// execute union without clean up
if (!(res= unit->prepare(thd, derived_result, SELECT_NO_UNLOCK)))
res= unit->exec();
}
else
{
unit->offset_limit_cnt= first_select->offset_limit;