Fix value of YEAR field when set from a non-numeric string. (Bug #6067)
mysql-test/t/type_date.test: Add new regression test mysql-test/r/type_date.result: Add result sql/field.cc: Set YEAR to 0 when set to a non-numeric string, not 2000, and issue a warning.
Showing
Please register or sign in to comment