Bug #31334 Out of range values are inserted without throwing error
| Submitted: | 2 Oct 2007 9:46 | Modified: | 3 Oct 2007 10:22 |
|---|---|---|---|
| Reporter: | media forest | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any |
[2 Oct 2007 9:46]
media forest
[2 Oct 2007 11:44]
MySQL Verification Team
Thank you for the bug report. Use the sql_mode for: mysql> set sql_mode=TRADITIONAL; Query OK, 0 rows affected (0.00 sec) mysql> INSERT INTO TEST VALUES (3118957900,'spp3916_20071002'); ERROR 1264 (22003): Out of range value adjusted for column 'ID' at row 1 mysql>
[3 Oct 2007 10:22]
media forest
I thought that inserting a bad value as Primary Key should throw an error in any mode...
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.