summaryrefslogtreecommitdiff
path: root/sql/procedure.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/procedure.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/procedure.h')
-rw-r--r--sql/procedure.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/procedure.h b/sql/procedure.h
index a1c9b95f20b..23e5751a008 100644
--- a/sql/procedure.h
+++ b/sql/procedure.h
@@ -59,6 +59,10 @@ public:
DBUG_ASSERT(0); // impossible
return mark_unsupported_function("proc", arg, VCOL_IMPOSSIBLE);
}
+ bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate)
+ {
+ return type_handler()->Item_get_date(this, ltime, fuzzydate);
+ }
Item* get_copy(THD *thd, MEM_ROOT *mem_root) { return 0; }
};