Bug #61174 | new errors in new releases require new ways to turn them off | ||
---|---|---|---|
Submitted: | 13 May 2011 18:29 | Modified: | 18 Jun 2011 19:10 |
Reporter: | Mark Callaghan | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.6.2, 5.5 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[13 May 2011 18:29]
Mark Callaghan
[18 Jun 2011 12:53]
Valeriy Kravchuk
I see the same warnings/errors (depending on sql_mode) on recent 5.1 also: macbook-pro:5.1 openxs$ bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.59-debug Source distribution Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create table tu(c1 int unsigned) engine=InnoDB; Query OK, 0 rows affected (0.11 sec) mysql> select @@sql_mode; +-------------------+ | @@sql_mode | +-------------------+ | STRICT_ALL_TABLES | +-------------------+ 1 row in set (0.00 sec) mysql> insert into tu values(-1); ERROR 1264 (22003): Out of range value for column 'c1' at row 1 mysql> set session sql_mode=''; Query OK, 0 rows affected (0.00 sec) mysql> select @@sql_mode; +------------+ | @@sql_mode | +------------+ | | +------------+ 1 row in set (0.00 sec) mysql> insert into tu values(-1); Query OK, 1 row affected, 1 warning (0.00 sec) mysql> show warnings\G *************************** 1. row *************************** Level: Warning Code: 1264 Message: Out of range value for column 'c1' at row 1 1 row in set (0.00 sec) What am I doing wrong in the test above?
[18 Jun 2011 17:34]
Mark Callaghan
I don't know but we use 5.1.52 in production.
[18 Jun 2011 19:08]
Mark Callaghan
I can't reproduce this without a production setup and my previous setup was removed. Please close this and I will reopen it if I repro it later.
[18 Jun 2011 19:10]
Valeriy Kravchuk
OK