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
commit51a80eb2122be7d31ef940811b2db6d11c081e55 (patch)
tree2487e62899cda85588f3f37089db8d2dda887ba2 /sql/item_timefunc.cc
parentb79170b7fd6b77bbc6cc083fbcaa13faf7f02f92 (diff)
downloadmariadb-git-51a80eb2122be7d31ef940811b2db6d11c081e55.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());