My table (name is primary key, id is unique key):
|| name || id || col_1 ||
===================================
|| test1 ||1234|| test999 ||
Query:
REPLACE INTO `table` (`name`, `col_1`) VALUES ('NOTTEST1', 'test999').
In this case, it mustn't replace row, but it does. What am I doing wrong?