diff options
author | monty@donna.mysql.com <> | 2000-08-15 20:09:37 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-08-15 20:09:37 +0300 |
commit | ea013c2152301e459504451efdb17f4c9bb30877 (patch) | |
tree | 5f72e7444fbc3c8d944a66b54b26550a04e4f0be /sql/item_timefunc.cc | |
parent | 807460bbceceec25bf97352bc5e232c3e766d70f (diff) | |
download | mariadb-git-ea013c2152301e459504451efdb17f4c9bb30877.tar.gz |
Fixed for Ia64 + delayed key creation + a lot of small bug fixes
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r-- | sql/item_timefunc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc index 90a6cc2910c..fcb68d07f61 100644 --- a/sql/item_timefunc.cc +++ b/sql/item_timefunc.cc @@ -431,6 +431,7 @@ void Item_func_curdate::fix_length_and_dec() ltime.second= 0; ltime.second_part=0; ltime.neg=0; + ltime.time_type=TIMESTAMP_DATE; } bool Item_func_curdate::get_date(TIME *res, @@ -487,6 +488,7 @@ void Item_func_now::fix_length_and_dec() ltime.second= start->tm_sec; ltime.second_part=0; ltime.neg=0; + ltime.time_type=TIMESTAMP_FULL; } bool Item_func_now::get_date(TIME *res, |