summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-01-03 19:04:01 +0200
committerunknown <monty@hundin.mysql.fi>2002-01-03 19:04:01 +0200
commit8dca7b6c67d23cb8d46b1407921ea6e17301dae5 (patch)
tree2487e62899cda85588f3f37089db8d2dda887ba2 /sql/item_timefunc.cc
parent213d66d9a0d71e00dbe35f6c2b34ea44e1260cff (diff)
downloadmariadb-git-8dca7b6c67d23cb8d46b1407921ea6e17301dae5.tar.gz
Some small fixes to the query cache.
Docs/manual.texi: Some small changes to the MySQL-PostgreSQL comparison. sql/item_timefunc.cc: Fixed typo. sql/sql_cache.cc: More debugging sql/sql_cache.h: More debugging
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());