Comment 2 for bug 1099836

Revision history for this message
yetanotherape (yetanotherape) wrote : Re: pt-online-schema-change reprorts duplicate entry

I think that it isn't a bug of MariaDB. I create simple table with primary key in MariaDB, then i try INSERT INTO ... with duplicated id, SHOW WARNINGS returns row with level "Error". And when i try INSERT IGNORE INTO ..., SHOW WARNINGS returns row with level "Warning".
MySQL returns same result in first case, and nothing in second case.
MariaDB seems to return just more verbose data.
It happens consistently for any table and data i've tried.