summaryrefslogtreecommitdiff
path: root/sql/sql_join_cache.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-03-04 12:06:03 +0300
committerSergey Petrunya <psergey@askmonty.org>2011-03-04 12:06:03 +0300
commite6bd643c7573fcbf422635e7a7440260ed30c297 (patch)
treebfff2e674586499e895adb3f29b11a8f74e57604 /sql/sql_join_cache.h
parentcdd214de1c3902e794940af6911666f7e40cbb4d (diff)
downloadmariadb-git-e6bd643c7573fcbf422635e7a7440260ed30c297.tar.gz
MRR interface: change range_info's type from char* to range_id_t typedef. The goals are:
- cleaner code - ability to change from using pointers to offsets at some point
Diffstat (limited to 'sql/sql_join_cache.h')
-rw-r--r--sql/sql_join_cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_join_cache.h b/sql/sql_join_cache.h
index 2d7c090e778..5498192122f 100644
--- a/sql/sql_join_cache.h
+++ b/sql/sql_join_cache.h
@@ -1313,7 +1313,7 @@ public:
uint get_next_key(uchar **key);
/* Check index condition of the joined table for a record from BKA cache */
- bool skip_index_tuple(char *range_info);
+ bool skip_index_tuple(range_id_t range_info);
};
@@ -1403,5 +1403,5 @@ public:
enum Join_algorithm get_join_alg() { return BKAH_JOIN_ALG; }
/* Check index condition of the joined table for a record from BKAH cache */
- bool skip_index_tuple(char *range_info);
+ bool skip_index_tuple(range_id_t range_info);
};