summaryrefslogtreecommitdiff
path: root/sql/sql_join_cache.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-06-26 22:42:48 +0200
committerSergei Golubchik <serg@mariadb.org>2016-06-30 11:43:02 +0200
commited77ee1aab1c41584bccfc62bee77d7c4d9af8d4 (patch)
treeed4d896e4e06db8e0bfa9bc075f0dd39fdda55d6 /sql/sql_join_cache.cc
parente8bdb73adee78253424fbb1ff782ad12700939a1 (diff)
downloadmariadb-git-ed77ee1aab1c41584bccfc62bee77d7c4d9af8d4.tar.gz
cleanup: change Item::walk() to take void* not uchar*
and remove all related casts to uchar* also remove a couple of unused methods
Diffstat (limited to 'sql/sql_join_cache.cc')
-rw-r--r--sql/sql_join_cache.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc
index 818598110ca..d5883b1304e 100644
--- a/sql/sql_join_cache.cc
+++ b/sql/sql_join_cache.cc
@@ -281,8 +281,7 @@ void JOIN_CACHE::collect_info_on_key_args()
Item *ref_item= ref->items[i];
if (!(tab->table->map & ref_item->used_tables()))
continue;
- ref_item->walk(&Item::add_field_to_set_processor, 1,
- (uchar *) tab->table);
+ ref_item->walk(&Item::add_field_to_set_processor, 1, tab->table);
}
if ((key_args= bitmap_bits_set(&tab->table->tmp_set)))
{