summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.cc
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-03-06 18:36:31 +0200
committerunknown <monty@hundin.mysql.fi>2002-03-06 18:36:31 +0200
commitd6998363afc004fd92248af521ed40fa52027954 (patch)
treeb15e545bf81d86ec528ceb737592fa34e6024c18 /sql/item_timefunc.cc
parent39cdb786fd7db97399fff788df7547f5be73b132 (diff)
downloadmariadb-git-d6998363afc004fd92248af521ed40fa52027954.tar.gz
Fixed bug in DATE_FORMAT when used with GROUP BY
Build-tools/Do-compile: Fixed typo Docs/manual.texi: Changelog mysql-test/r/type_date.result: Added test of bug in DATE_FORMAT mysql-test/t/type_date.test: Added test of bug in DATE_FORMAT scripts/mysqlhotcopy.sh: Fix for RAID files sql/table.cc: Fixed typo in last patch
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 b198900d24e..eb9b1423c78 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -672,7 +672,7 @@ String *Item_func_date_format::val_str(String *str)
else
size=format_length(format);
if (format == str)
- str=&str_value; // Save result here
+ str=&value; // Save result here
if (str->alloc(size))
{
null_value=1;