-- SET enable_upsert_to_merge=ON to test the upsert implemented by merge, -- real upsert will be tested in specialized case. INSERT INTO t1 VALUES (1, 2) ON DUPLICATE KEY UPDATE col2 = 3; INSERT INTO ...