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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user