diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-09-12 18:55:05 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-09-18 10:12:23 +0200 |
commit | c4dc2b877aa4d319b2f8e67b513170fb8db0bba9 (patch) | |
tree | 9e1bd3a1bc962ad579b8d397f33fa5bcbd8ae278 /sql/item_timefunc.h | |
parent | 3e5cdfae935d371f155aba6cc32cb22fb19680ea (diff) | |
download | mariadb-git-c4dc2b877aa4d319b2f8e67b513170fb8db0bba9.tar.gz |
bugfix: TIME_FORMAT() should be ok in stored generated columns
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r-- | sql/item_timefunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index d8f69e2098d..77b596c9eba 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -832,6 +832,8 @@ public: bool eq(const Item *item, bool binary_cmp) const; bool check_vcol_func_processor(void *arg) { + if (is_time_format) + return false; return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); } Item *get_copy(THD *thd, MEM_ROOT *mem_root) |