diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-06-27 19:22:09 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-06-30 11:43:02 +0200 |
commit | 0a056c9b5302c24ee4eaa9cc92bd6697125f94b7 (patch) | |
tree | 30576f580f31b6564d26340c61f36d8e350955de /sql/item_sum.cc | |
parent | 1b4f0962c14b3c827553e2a470c82afc419f9352 (diff) | |
download | mariadb-git-0a056c9b5302c24ee4eaa9cc92bd6697125f94b7.tar.gz |
better ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r-- | sql/item_sum.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc index 90a9887f7f7..cc7a76213f0 100644 --- a/sql/item_sum.cc +++ b/sql/item_sum.cc @@ -579,6 +579,12 @@ Item *Item_sum::result_item(THD *thd, Field *field) return new (thd->mem_root) Item_field(thd, field); } +bool Item_sum::check_vcol_func_processor(void *arg) +{ + return mark_unsupported_function(func_name(), ")", arg, VCOL_IMPOSSIBLE); +} + + /** Compare keys consisting of single field that cannot be compared as binary. |