summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2006-06-09 17:56:08 -0700
committerigor@rurik.mysql.com <>2006-06-09 17:56:08 -0700
commit940fe6fea6e8faa8f491b8a4667fa1e4ccf648f9 (patch)
treea35d4a02dd33f64c0522f3313f41b5814ac15fbf /sql/item_timefunc.h
parenta5bc38a0d38da9098fc27fd601b47df111c5ff54 (diff)
parent950a000503b40c3eb049085f2dbb2c8ed8a91f7f (diff)
downloadmariadb-git-940fe6fea6e8faa8f491b8a4667fa1e4ccf648f9.tar.gz
Merge rurik.mysql.com:/home/igor/tmp_merge
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
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 b2f0dab0837..9a14b961130 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -614,6 +614,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; }