Support INSERT IGNORE for MySQL and Sqlite