summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-01-03 19:04:01 +0200
committermonty@hundin.mysql.fi <>2002-01-03 19:04:01 +0200
commita9de2c14a0a063adb3230ea2e696e0da588dbc92 (patch)
tree2487e62899cda85588f3f37089db8d2dda887ba2 /sql/item_timefunc.cc
parent2597b1aadd45f166c2c8efe04d0e5444e4389ea6 (diff)
downloadmariadb-git-a9de2c14a0a063adb3230ea2e696e0da588dbc92.tar.gz
Some small fixes to the query cache.
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r--sql/item_timefunc.cc2
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());