diff options
author | unknown <dlenev@mysql.com> | 2004-12-16 16:31:50 +0300 |
---|---|---|
committer | unknown <dlenev@mysql.com> | 2004-12-16 16:31:50 +0300 |
commit | 2fb340b5209dda8f71f372fed17d65a0c5814821 (patch) | |
tree | 22957f403d1fae90ad99eced072996def0ae1104 /SSL | |
parent | f40f838f50bda025cacd0529e1ec41bb4f1e5579 (diff) | |
download | mariadb-git-2fb340b5209dda8f71f372fed17d65a0c5814821.tar.gz |
Fix for bug #7297 "Two digit year should be interpreted correctly
even with zero month and day" aka "Date decoding trouble"
Two digit year should be interpreted correctly as year in 20th or 21st
century even with zero month and day. Only exception should be zero date
'00-00-00' or '00-00-00 00:00:00'.
mysql-test/r/type_datetime.result:
Added test for bug #7297 "Two digit year should be interpreted correctly
even with zero month and day"
mysql-test/t/type_datetime.test:
Added test for bug #7297 "Two digit year should be interpreted correctly
even with zero month and day"
sql/time.cc:
str_to_TIME(): Two digit year should be interpreted correctly as year
in 20th or 21st century even with zero month and day. Only exception
should be zero date '00-00-00' or '00-00-00 00:00:00'.
Diffstat (limited to 'SSL')
0 files changed, 0 insertions, 0 deletions