diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2003-07-08 15:06:05 +0500 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2003-07-08 15:06:05 +0500 |
commit | 4adf180432bba0e2f7e67ecb8fa5aa6d9ed86bdb (patch) | |
tree | a979e1c2c78c95f85202f78b6dd431c7f083b46b /sql/time.cc | |
parent | 01e7f418afb1ab646487e4a14179ed2d2bd8f008 (diff) | |
download | mariadb-git-4adf180432bba0e2f7e67ecb8fa5aa6d9ed86bdb.tar.gz |
SAPDB date/time finctions
mysql-test/r/cast.result:
Changes for SAPDB date/time finctions
Diffstat (limited to 'sql/time.cc')
-rw-r--r-- | sql/time.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/time.cc b/sql/time.cc index 056adf050ce..70ae8dcd8ed 100644 --- a/sql/time.cc +++ b/sql/time.cc @@ -432,6 +432,7 @@ str_to_TIME(const char *str, uint length, TIME *l_time,bool fuzzy_date) l_time->minute=date[4]; l_time->second=date[5]; l_time->second_part=date[6]; + l_time->neg= 0; DBUG_RETURN(l_time->time_type= (number_of_fields <= 3 ? TIMESTAMP_DATE : TIMESTAMP_FULL)); } |