Bug #75275 | Generated INSERT statement uses DEFAULT for INT field when last column is text | ||
---|---|---|---|
Submitted: | 19 Dec 2014 15:51 | Modified: | 29 Jan 2015 10:03 |
Reporter: | Adam Waller | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 5.3.4 | OS: | Windows (Access ADODB) |
Assigned to: | CPU Architecture: | Any |
[19 Dec 2014 15:51]
Adam Waller
[29 Jan 2015 10:03]
Chiranjeevi Battula
Hello Adam Waller, Thank you for your feedback. Verified this behavior on Visual Studio 2013 (VB.Net) and MySQL ODBC 5.3.4. Thanks, Chiranjeevi.
[29 Jan 2015 10:04]
Chiranjeevi Battula
Enter password: ****** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 34 Server version: 5.6.21-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial) Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> use test Database changed mysql> mysql> CREATE TABLE phplist_user_user_history -> (id int(11) NOT NULL AUTO_INCREMENT, -> userid int(11) NOT NULL , -> ip varchar(255) DEFAULT NULL, -> date datetime DEFAULT NULL, -> summary varchar(255) DEFAULT NULL, -> detail text, -> systeminfo text, -> PRIMARY KEY (id)); Query OK, 0 rows affected (0.29 sec) mysql> select * from phplist_user_user_history; Empty set (0.00 sec)
[29 Jan 2015 10:06]
Chiranjeevi Battula
Error Message screenshot
Attachment: 75275_Screenshot.PNG (image/png, text), 95.74 KiB.