mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed bug mdev-6874.
The method subselect_union_engine::no_rows() must take into account the fact that now unit->fake_select_lex is NULL for for select_union_direct objects.
This commit is contained in:
@ -246,6 +246,7 @@ int select_union_direct::send_data(List<Item> &items)
|
||||
return false;
|
||||
}
|
||||
|
||||
send_records++;
|
||||
fill_record(thd, table, table->field, items, true, false);
|
||||
if (thd->is_error())
|
||||
return true; /* purecov: inspected */
|
||||
|
Reference in New Issue
Block a user