5.7 mtr failed with wrong errno 1265: 'Data truncated for column 'x' at row 1', instead of 1062...

Description

Happens in tests:
tokudb.bugs.alter_table_copy_table

tokudb.alter_table.null_bytes_col_rename : At line 50: query 'ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH' failed: 1265: Data truncated for column 'c19' at row 1

tokudb.alter_table.mod_enum : At line 53: query 'ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4')' failed: 1265: Data truncated for column 'col2' at row 3

tokudb.alter_table.null_bytes_drop_default : At line 50: query 'ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH' failed: 1265: Data truncated for column 'c19' at row 1

tokudb.alter_table.null_bytes_add_key : At line 50: query 'ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH' failed: 1265: Data truncated for column 'c19' at row 1

tokudb.alter_table.null_bytes_drop_key : At line 50: query 'ALTER TABLE t ADD PRIMARY KEY(c19,c27)USING HASH' failed: 1265: Data truncated for column 'c19' at row 1

Environment

None

Activity

Show:
George Lorch
January 4, 2016, 8:53 PM

Assignee

George Lorch

Reporter

George Lorch

Labels

External issue ID

None

Freshdesk Tickets

None

Fix versions

Affects versions

Priority

Major
Configure