summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2018-02-13 20:37:31 +0400
committerAlexander Barkov <bar@mariadb.org>2018-02-13 20:37:31 +0400
commit95d075a0e5b9b4276c53f888c8090113a8adfbf4 (patch)
treeb43ac5e7c1db879aba5f29c97b70265ae083e124 /sql/item_row.h
parent0c4aeef976d1094e90ce7a0b11138916e47c22fc (diff)
downloadmariadb-git-95d075a0e5b9b4276c53f888c8090113a8adfbf4.tar.gz
MDEV-15293 CAST(AS TIME) returns bad results for LAST_VALUE(),NAME_CONST(),SP variable
Diffstat (limited to 'sql/item_row.h')
-rw-r--r--sql/item_row.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_row.h b/sql/item_row.h
index 206a8ed83c5..83f6ba9c5b7 100644
--- a/sql/item_row.h
+++ b/sql/item_row.h
@@ -82,6 +82,11 @@ public:
illegal_method_call((const char*)"val_decimal");
return 0;
};
+ bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate)
+ {
+ illegal_method_call((const char*)"get_date");
+ return true;
+ }
bool fix_fields(THD *thd, Item **ref);
void fix_after_pullout(st_select_lex *new_parent, Item **ref, bool merge);
void cleanup();