diff options
author | psergey <psergey@epc> | 2010-07-10 20:51:12 +0300 |
---|---|---|
committer | psergey <psergey@epc> | 2010-07-10 20:51:12 +0300 |
commit | 946aef4a58337c6e5adf5a08d04dd397630f0c46 (patch) | |
tree | b7798906d606a067b055d46cd20e1fc4cfc09f19 /sql/sql_join_cache.cc | |
parent | e9bac8db82f54d715997cceff082452c5406d36e (diff) | |
download | mariadb-git-946aef4a58337c6e5adf5a08d04dd397630f0c46.tar.gz |
MWL#90: code cleanup
- Remove deadcode
- Improve comments
- Do small several small TODOs
Diffstat (limited to 'sql/sql_join_cache.cc')
-rw-r--r-- | sql/sql_join_cache.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc index 5db5928fba1..1d5c04711e1 100644 --- a/sql/sql_join_cache.cc +++ b/sql/sql_join_cache.cc @@ -1809,11 +1809,8 @@ enum_nested_loop_state JOIN_CACHE_BNL::join_matching_records(bool skip_last) /* Start retrieving all records of the joined table */ - if (join_tab_execution_startup(join_tab)) - { - rc= NESTED_LOOP_ERROR; + if ((rc= join_tab_execution_startup(join_tab)) < 0) goto finish; - } if ((error= join_init_read_record(join_tab))) { |