Commit 4578a5c6 authored by Jon Olav Hauglid's avatar Jon Olav Hauglid

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.
parent fb7214ae
...@@ -1771,7 +1771,7 @@ bool check_key_in_view(THD *thd, TABLE_LIST *view) ...@@ -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)) if (!fld->item->fixed && fld->item->fix_fields(thd, &fld->item))
{ {
thd->mark_used_columns= save_mark_used_columns; thd->mark_used_columns= save_mark_used_columns;
return TRUE; DBUG_RETURN(TRUE);
} }
} }
thd->mark_used_columns= save_mark_used_columns; thd->mark_used_columns= save_mark_used_columns;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment