diff options
| author | Sergey Petrunya <psergey@askmonty.org> | 2010-12-13 20:01:32 +0300 |
|---|---|---|
| committer | Sergey Petrunya <psergey@askmonty.org> | 2010-12-13 20:01:32 +0300 |
| commit | eafc4bef33386b566654053f49762825618416fa (patch) | |
| tree | 466091a5b740918fda48f125584c583604ef8ec3 /sql/sql_join_cache.cc | |
| parent | 58b646001a1d9b00ca8e41bd2a6826ed40f81b5f (diff) | |
| download | mariadb-git-eafc4bef33386b566654053f49762825618416fa.tar.gz | |
MWL#121-125 DS-MRR improvements
- Address review feedback: change return type of RANGE_SEQ_IF::next()
Diffstat (limited to 'sql/sql_join_cache.cc')
| -rw-r--r-- | sql/sql_join_cache.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc index 240e18ed913..2c28aae781c 100644 --- a/sql/sql_join_cache.cc +++ b/sql/sql_join_cache.cc @@ -3655,12 +3655,12 @@ range_seq_t bka_range_seq_init(void *init_param, uint n_ranges, uint flags) This function are used only as a callback function. RETURN VALUE - 0 ok, the range structure filled with info about the next range/key - 1 no more ranges + FALSE ok, the range structure filled with info about the next range/key + TRUE no more ranges */ static -uint bka_range_seq_next(range_seq_t rseq, KEY_MULTI_RANGE *range) +bool bka_range_seq_next(range_seq_t rseq, KEY_MULTI_RANGE *range) { DBUG_ENTER("bka_range_seq_next"); JOIN_CACHE_BKA *cache= (JOIN_CACHE_BKA *) rseq; @@ -4130,12 +4130,12 @@ range_seq_t bkah_range_seq_init(void *init_param, uint n_ranges, uint flags) This function are used only as a callback function. RETURN VALUE - 0 ok, the range structure filled with info about the next range/key - 1 no more ranges + FALSE ok, the range structure filled with info about the next range/key + TRUE no more ranges */ static -uint bkah_range_seq_next(range_seq_t rseq, KEY_MULTI_RANGE *range) +bool bkah_range_seq_next(range_seq_t rseq, KEY_MULTI_RANGE *range) { DBUG_ENTER("bkah_range_seq_next"); JOIN_CACHE_BKAH *cache= (JOIN_CACHE_BKAH *) rseq; |
