Bug #32595 | Connector/NET Mis-Formats Dates Stored as VARCHAR | ||
---|---|---|---|
Submitted: | 21 Nov 2007 20:01 | Modified: | 22 Nov 2007 14:36 |
Reporter: | Jeffrey McManus | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 5.0.8.1 | OS: | Windows (Server 2003) |
Assigned to: | CPU Architecture: | Any | |
Tags: | .net |
[21 Nov 2007 20:01]
Jeffrey McManus
[22 Nov 2007 14:35]
Tonci Grgin
Test case VS2005
Attachment: bug32595.test (application/octet-stream, text), 2.51 KiB.
[22 Nov 2007 14:36]
Tonci Grgin
Hi Jeffrey and thanks for your report. As there is no test case attached I wrote one and found no problems: [22.11.07 15:29:21] - Executing command QUERY with text ='SHOW VARIABLES' [22.11.07 15:29:21] - Executing command QUERY with text ='SHOW COLLATION' [22.11.07 15:29:21] - Executing command QUERY with text ='SET NAMES utf8;SET character_set_results=NULL' [22.11.07 15:29:21] - Executing command QUERY with text ='DROP TABLE IF EXISTS `test`.`bug32595`' [22.11.07 15:29:21] - Executing command QUERY with text ='CREATE TABLE `test`.`bug32595` (`ID` int unsigned NOT NULL AUTO_INCREMENT, `LastModified` varchar(50) NOT NULL DEFAULT '', PRIMARY KEY (`ID`) ) DEFAULT CHARSET=latin1' [22.11.07 15:32:04] - Executing command QUERY with text ='INSERT INTO bug32595 VALUES (NULL,'2007-11-22 15:32:04')' dt is now: 2007-11-22 15:32:04 dt is now: 2007-11-22 15:32:12 VARCHAR System.String System.String dt is finally: 2007-11-22 15:32:12 [22.11.07 15:32:12] - Executing command QUERY with text ='UPDATE bug32595 SET LastModified = '2007-11-22 15:32:12'' [22.11.07 15:29:21] - Executing command QUERY with text ='SELECT * FROM bug32595' Environment: MySQL server 5.0.54BK on WinXP Pro SP2 localhost Net FW 2, c/NET 5.0.8.1 Test case is attached.