summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-11-18 15:42:40 +0100
committerSergei Golubchik <sergii@pisem.net>2014-11-18 15:42:40 +0100
commit5d0122bd7719d1b6125af43e29908cb71922e646 (patch)
treed77cdbfb63c1fbee3f8be7808c27d428dd85b7be /sql/item.h
parent84f25c25f260373b54941d9239e8b0d758990601 (diff)
downloadmariadb-git-5d0122bd7719d1b6125af43e29908cb71922e646.tar.gz
MDEV-7113 difference between check_vcol_func_processor and check_partition_func_processor
MDEV-6789 segfault in Item_func_from_unixtime::get_date on updating table with virtual columns * prohibit VALUES in partitioning expression * prohibit user and system variables in virtual column expressions * fix Item_func_date_format to cache locale (for %M/%W to return the same as MONTHNAME/DAYNAME) * fix Item_func_from_unixtime to cache time_zone directly, not THD (and not to crash) * added tests for other incorrectly allowed (in vcols) functions to see that they don't crash
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index f7ee860390f..57e91e5b3d8 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -3939,6 +3939,7 @@ public:
return arg->walk(processor, walk_subquery, args) ||
(this->*processor)(args);
}
+ bool check_partition_func_processor(uchar *int_arg) {return TRUE;}
bool check_vcol_func_processor(uchar *arg)
{
return trace_unsupported_by_check_vcol_func_processor("values");