mariadb/sql-common
Tatiana A. Nurnberg 694323952a Bug#42146 - DATETIME fractional seconds parse error
Bug#38435 - LONG Microseconds cause MySQL to fail a CAST to DATETIME or DATE

Parsing of optional microsecond part in datetime did not
fail gracefully when field width was larger than the allowed
six places.

Now handles up to the correct six places, and disregards
any extra digits without messing up what we've already got.

mysql-test/r/type_datetime.result:
  show graceful handling of overly long microsecond parts
  (correct truncation).
mysql-test/t/type_datetime.test:
  show graceful handling of overly long microsecond parts
  (correct truncation).
sql-common/my_time.c:
  Special case for time-parsing: for microsecond part,
  leading zeroes are actually meaningful! Also, don't
  break the entire date on more than the allowed six
  digits in microsecond part, just truncate the extra
  digits.
2009-02-13 19:07:03 +01:00
..
client.c fixed warnings and compile errors from the fix for bug 26243 2008-03-29 09:52:16 +02:00
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_time.c Bug#42146 - DATETIME fractional seconds parse error 2009-02-13 19:07:03 +01:00
my_user.c Bug#32633 Can not create any routine if SQL_MODE=no_engine_substitution 2008-02-07 08:47:39 -02:00
pack.c Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00