summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-01-28 14:17:09 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-01-28 14:17:09 +0200
commita983b2440767db660bdf38c4f8bb3a0b0f7b1d65 (patch)
tree04beefc3687b10e2e2322e7c586aede2c4e272a2 /sql/item_timefunc.h
parenta915142f48a42237021be590de37ffab4cc5b107 (diff)
parentbc891054962bc7cbd249f1ff75c64adb3b5bbc59 (diff)
downloadmariadb-git-a983b2440767db660bdf38c4f8bb3a0b0f7b1d65.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 4d6210e6179..5d5f3bd4681 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -857,6 +857,10 @@ class Item_func_from_unixtime :public Item_datetimefunc
const char *func_name() const { return "from_unixtime"; }
bool fix_length_and_dec();
bool get_date(THD *thd, MYSQL_TIME *res, date_mode_t fuzzydate);
+ bool check_vcol_func_processor(void *arg)
+ {
+ return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC);
+ }
Item *get_copy(THD *thd)
{ return get_item_copy<Item_func_from_unixtime>(thd, this); }
};