Bug #42583 | From with SELECT statement when non integer type is used | ||
---|---|---|---|
Submitted: | 4 Feb 2009 8:32 | Modified: | 4 Feb 2009 8:50 |
Reporter: | Umakant Patil | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Windows (XP Version 2 Service Pack 3) |
Assigned to: | CPU Architecture: | Any | |
Tags: | error, INTEGER, Primay key, SELECT |
[4 Feb 2009 8:32]
Umakant Patil
[4 Feb 2009 8:50]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php MySQL converts '2wer' to 2 if string is used in the numeric context. So returning the row is expected. Also you should get warning "Truncated incorrect DOUBLE value: '2wer' " So this is not MySQL bug.