For Monty's reference, I'll put the change and the context here.
=====================================
The change:
=== modified file 'mysql-test/suite/storage_engine/autoinc_vars.result'
— mysql-test/suite/storage_engine/autoinc_vars.result 2012-07-16 02:17:56 +0000
+++ mysql-test/suite/storage_engine/autoinc_vars.result 2012-12-28 13:02:33 +0000
@@ -44,12 +44,10 @@
SET auto_increment_offset = 300;
CREATE TABLE t1 (a TINYINT <CUSTOM_COL_OPTIONS> AUTO_INCREMENT, <CUSTOM_INDEX>(a)) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
INSERT INTO t1 (a) VALUES (NULL);
-Warnings:
-Warning 1264 Out of range value for column 'a' at row 1
+ERROR 22003: Out of range value for column 'a' at row 1
SELECT LAST_INSERT_ID();
LAST_INSERT_ID()
-127
+850
SELECT * FROM t1;
a
-127
DROP TABLE t1;
=====================================
Context:
This part of the test does the following:
SET auto_increment_increment = 500;
SET auto_increment_offset = 300;
CREATE TABLE t1 (a TINYINT AUTO_INCREMENT PRIMARY KEY);
INSERT INTO t1 (a) VALUES (NULL);
Thus, the inserted value should have been 300, but TINYINT doesn't allow for that. So, earlier the value was truncated with the warning and the max possible value was inserted (and hence LAST_INSERT_ID was updated), while now it throws an error instead, nothing is inserted (and LAST_INSERT_ID remains old, 850 is the value from the previous part of the test)
Hi Sergei,
Here is the patch: http://bazaar.launchpad.net/~elenst/maria/5.5-engines-tests/revision/3605
No harm is done, it's only tests and results in suites which are not a part of the standard set. Is it okay to push into 5.5?