diff options
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r-- | sql/item_timefunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc index 9c29b594621..8f55a02b020 100644 --- a/sql/item_timefunc.cc +++ b/sql/item_timefunc.cc @@ -1127,7 +1127,7 @@ longlong Item_extract::val_int() void Item_typecast::print(String *str) { - str->append("CASE("); + str->append("CAST("); args[0]->print(str); str->append(" AS "); str->append(func_name()); |