Re: Possible date bug

2002-12-10 Thread Bruce MacDonald
John, > Am I mistaken or does 2002-02-31 translate into February 31, 2002? I see it now -- right there on Page 646 of the MySQL Manual: | Note that MySQL does no checking whether the date is correct. | If you store an incorrect date, such as '1998-2-31', | the wrong date will be stored. If th

Re: Possible date bug

2002-12-05 Thread Bruce MacDonald
such problem with illegal date values. There must be an explanation but scouring the books and manual I could not find one. Bruce MacDonald Minnesota Public Radio - Original Message - From: "John Griffin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, D

Possible date bug

2002-12-04 Thread John Griffin
Hi All, I ran the following commands: DROP TABLE IF EXISTS test_date; CREATE TABLE test_date (test_date datetime); INSERT INTO test_date (test_date) VALUES ('2002-02-31'); SELECT * FROM test_date; I got the following results: mysql> DROP TABLE IF EXISTS test_date; Query OK, 0 rows affected (0.0