Bug #48995 abort missing DBUG_RETURN or .. in function "check_key_in_view"

check_key_in_view() had one code branch which returned with "return TRUE"
rather than "DBUG_RETURN(TRUE)". Only affected debug builds.

No test case added.
This commit is contained in:
Jon Olav Hauglid 2009-12-15 10:05:20 +01:00
parent fb7214ae4b
commit 4578a5c61b

View File

@ -1771,7 +1771,7 @@ bool check_key_in_view(THD *thd, TABLE_LIST *view)
if (!fld->item->fixed && fld->item->fix_fields(thd, &fld->item))
{
thd->mark_used_columns= save_mark_used_columns;
return TRUE;
DBUG_RETURN(TRUE);
}
}
thd->mark_used_columns= save_mark_used_columns;