diff options
author | unknown <serg@serg.mylan> | 2004-06-25 21:43:02 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-06-25 21:43:02 +0200 |
commit | 00567fe6342fc6cc60df0244ac5b0eeb1e792981 (patch) | |
tree | 3793f5cd3c67c9920e6eb21c2eabba3f633952a2 /sql/sql_select.cc | |
parent | b4336ad4e0478f6e5a05ef66ebe68a66deafbbe6 (diff) | |
download | mariadb-git-00567fe6342fc6cc60df0244ac5b0eeb1e792981.tar.gz |
release cursors in return_zero_rows
sql/opt_range.cc:
incorrect fix removed. range optimizer is made slightly more stable vs. compiler optimizations
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index d8662af1d39..528ff2065a2 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -4128,6 +4128,8 @@ return_zero_rows(JOIN *join, select_result *result,TABLE_LIST *tables, DBUG_RETURN(0); } + join->join_free(0); + if (send_row) { for (TABLE_LIST *table=tables; table ; table=table->next) |