summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-02-22 01:24:02 +0100
committerSergei Golubchik <serg@mariadb.org>2018-02-24 00:50:58 +0100
commitf3088112cbe928f0ad57bb56146bcf1e58c27108 (patch)
treeee8405ebc7223e8c4ad21366e1278fa8651be595 /sql/item_timefunc.h
parent33366b10981567cb147375a28522f5e29d23aa5d (diff)
downloadmariadb-git-f3088112cbe928f0ad57bb56146bcf1e58c27108.tar.gz
MDEV-14645: AS OF TIMESTAMP is misused as TRX_ID
Remove 1668efb722d that introduced a special magic behavior for UNIX_TIMESTAMP() in the AS OF context
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 761f619def8..c3bda9d85ba 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -1192,20 +1192,6 @@ public:
};
-class Item_datetime_from_unixtime_typecast :public Item_datetime_typecast
-{
- THD *thd;
-public:
- Item_datetime_from_unixtime_typecast(THD *_thd, Item *a, uint dec_arg):
- Item_datetime_typecast(_thd, a, dec_arg), thd(_thd) {}
- const char *func_name() const { return "cast_as_datetime_from_unixtime"; }
- const char *cast_type() const { return "datetime"; }
- void fix_length_and_dec();
- Item *get_copy(THD *thd)
- { return get_item_copy<Item_datetime_from_unixtime_typecast>(thd, this); }
-};
-
-
class Item_func_makedate :public Item_datefunc
{
bool check_arguments() const