summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-05-14 21:05:51 +0200
committerSergei Golubchik <serg@mariadb.org>2018-05-15 12:10:48 +0200
commitc14c958c6cd00296cccc10ce523248130be65ec5 (patch)
treef27ffb02109ea0d1ad4d921ce9bed3ce33ca7435 /sql/item.cc
parent445ac662c369756c7465d687e40225ffcce28e74 (diff)
downloadmariadb-git-c14c958c6cd00296cccc10ce523248130be65ec5.tar.gz
cleanup: vcol_in_partition_func_processor
rename to post_fix_fields_part_expr_processor() because it's only used after fix_fields in fix_fields_part_func() and can be used for various post-fix_fields fixups
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 876472c0bd9..fbc4ec22c6e 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -5761,18 +5761,11 @@ error:
return TRUE;
}
-/*
- @brief
- Mark virtual columns as used in a partitioning expression
-*/
-
-bool Item_field::vcol_in_partition_func_processor(void *int_arg)
+bool Item_field::post_fix_fields_part_expr_processor(void *int_arg)
{
DBUG_ASSERT(fixed);
if (field->vcol_info)
- {
field->vcol_info->mark_as_in_partitioning_expr();
- }
return FALSE;
}