1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Correction for the fix of the bug mdev-6874.

This commit is contained in:
Igor Babaev
2014-10-19 09:50:50 -07:00
parent ec89abfef4
commit d24919969a
4 changed files with 5 additions and 7 deletions

View File

@ -784,6 +784,8 @@ bool st_select_lex_unit::exec()
if (uncacheable || !item || !item->assigned() || describe)
{
if (!fake_select_lex)
union_result->cleanup();
for (SELECT_LEX *sl= select_cursor; sl; sl= sl->next_select())
{
ha_rows records_at_start= 0;