From eafc4bef33386b566654053f49762825618416fa Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Mon, 13 Dec 2010 20:01:32 +0300 Subject: MWL#121-125 DS-MRR improvements - Address review feedback: change return type of RANGE_SEQ_IF::next() --- sql/sql_join_cache.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sql/sql_join_cache.cc') 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; -- cgit v1.2.1