summaryrefslogtreecommitdiff
path: root/sql/sql_join_cache.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-02-19 00:22:38 +0300
committerSergey Petrunya <psergey@askmonty.org>2011-02-19 00:22:38 +0300
commite7aa18fb9c527eda66fb20e5a796f7c658b5e06b (patch)
tree32fbfe800f1841cb2e62f7583d80c98bba25fe49 /sql/sql_join_cache.cc
parent2c7c230a59c86c629fbdfeedb89d2c7a92a0e054 (diff)
downloadmariadb-git-e7aa18fb9c527eda66fb20e5a796f7c658b5e06b.tar.gz
Code cleanup (1)
Diffstat (limited to 'sql/sql_join_cache.cc')
-rw-r--r--sql/sql_join_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc
index 134af78d43b..b7062747073 100644
--- a/sql/sql_join_cache.cc
+++ b/sql/sql_join_cache.cc
@@ -2219,7 +2219,7 @@ enum_nested_loop_state JOIN_CACHE::join_matching_records(bool skip_last)
}
/* Prepare to retrieve all records of the joined table */
- if ((error= join_tab_scan->open())) //psergey-merge: TODO: look what it does inside? status-reset should use next_linear_tab
+ if ((error= join_tab_scan->open()))
goto finish; /* psergey-note: if this returns error, we will assert in net_send_statement() */
if ((rc= join_tab_execution_startup(join_tab)) < 0)