Commit d23e25dd authored by unknown's avatar unknown

free open cursors

parent 8ba30379
...@@ -4128,7 +4128,7 @@ return_zero_rows(JOIN *join, select_result *result,TABLE_LIST *tables, ...@@ -4128,7 +4128,7 @@ return_zero_rows(JOIN *join, select_result *result,TABLE_LIST *tables,
select_describe(join, FALSE, FALSE, FALSE, info); select_describe(join, FALSE, FALSE, FALSE, info);
DBUG_RETURN(0); DBUG_RETURN(0);
} }
join->cleanup();
if (send_row) if (send_row)
{ {
for (TABLE_LIST *table=tables; table ; table=table->next) for (TABLE_LIST *table=tables; table ; table=table->next)
......
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