Commit 6ae4094a authored by unknown's avatar unknown

Fixed another bug#4984-type problem. This probably isn't the last fix for this bug.


sql/opt_range.cc:
  Fix for bug#4984
parent dde591f2
...@@ -1140,6 +1140,8 @@ QUICK_ROR_UNION_SELECT::~QUICK_ROR_UNION_SELECT() ...@@ -1140,6 +1140,8 @@ QUICK_ROR_UNION_SELECT::~QUICK_ROR_UNION_SELECT()
DBUG_ENTER("QUICK_ROR_UNION_SELECT::~QUICK_ROR_UNION_SELECT"); DBUG_ENTER("QUICK_ROR_UNION_SELECT::~QUICK_ROR_UNION_SELECT");
delete_queue(&queue); delete_queue(&queue);
quick_selects.delete_elements(); quick_selects.delete_elements();
if (head->file->inited != handler::NONE)
head->file->ha_rnd_end();
free_root(&alloc,MYF(0)); free_root(&alloc,MYF(0));
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
......
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