free open cursors

This commit is contained in:
unknown 2004-06-25 00:50:48 +02:00
parent 530d46f4e3
commit df094ea03b

View file

@ -4128,7 +4128,7 @@ return_zero_rows(JOIN *join, select_result *result,TABLE_LIST *tables,
select_describe(join, FALSE, FALSE, FALSE, info);
DBUG_RETURN(0);
}
join->cleanup();
if (send_row)
{
for (TABLE_LIST *table=tables; table ; table=table->next)