diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-05-14 21:05:51 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-05-15 12:10:48 +0200 |
commit | c14c958c6cd00296cccc10ce523248130be65ec5 (patch) | |
tree | f27ffb02109ea0d1ad4d921ce9bed3ce33ca7435 /sql/sql_partition.cc | |
parent | 445ac662c369756c7465d687e40225ffcce28e74 (diff) | |
download | mariadb-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/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index 4c91f781c2e..f5467e85f62 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -949,7 +949,7 @@ static bool fix_fields_part_func(THD *thd, Item* func_expr, TABLE *table, thd->lex->allow_sum_func= 0; if (!(error= func_expr->fix_fields(thd, (Item**)&func_expr))) - func_expr->walk(&Item::vcol_in_partition_func_processor, 0, NULL); + func_expr->walk(&Item::post_fix_fields_part_expr_processor, 0, NULL); /* Restore agg_field/agg_func and allow_sum_func, |