summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2006-06-14 20:00:36 -0700
committerunknown <igor@rurik.mysql.com>2006-06-14 20:00:36 -0700
commite8288ff926cfa2e4c635c88e706c921a6f7b9235 (patch)
tree7a6447d7f6b379ba8e955cb4521598b60bf22c5e /sql/item_timefunc.h
parent1b3ffa03f223ec12dba9db63c73be29c1d2b2765 (diff)
parenta74154f4de0b4f3765eb06932fb9ec3e79f764e0 (diff)
downloadmariadb-git-e8288ff926cfa2e4c635c88e706c921a6f7b9235.tar.gz
Merge rurik.mysql.com:/home/igor/tmp_merge
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0 client/mysqldump.c: Auto merged mysql-test/mysql-test-run.pl: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/item_timefunc.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_parse.cc: Auto merged storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp: Auto merged storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp: Auto merged tests/mysql_client_test.c: Auto merged configure.in: Manual merge mysql-test/r/func_time.result: Manual merge mysql-test/t/func_time.test: Manual merge
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 69c8ec5959a..513ef692ed7 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -638,6 +638,7 @@ public:
{
collation.set(&my_charset_bin);
maybe_null=1;
+ decimals= DATETIME_DEC;
max_length=MAX_TIME_WIDTH*MY_CHARSET_BIN_MB_MAXLEN;
}
enum_field_types field_type() const { return MYSQL_TYPE_TIME; }