1
0
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:
Igor Babaev
2014-10-17 12:59:28 -07:00
parent 3c4bb0e872
commit a4d1783aae
5 changed files with 30 additions and 2 deletions

View File

@ -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 */