diff options
author | monty@hundin.mysql.fi <> | 2002-01-03 19:04:01 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-01-03 19:04:01 +0200 |
commit | a9de2c14a0a063adb3230ea2e696e0da588dbc92 (patch) | |
tree | 2487e62899cda85588f3f37089db8d2dda887ba2 /sql/item_timefunc.cc | |
parent | 2597b1aadd45f166c2c8efe04d0e5444e4389ea6 (diff) | |
download | mariadb-git-a9de2c14a0a063adb3230ea2e696e0da588dbc92.tar.gz |
Some small fixes to the query cache.
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()); |