• Marko Mäkelä's avatar
    MDEV-31120 Duplicate entry allowed into a UNIQUE column · 9bb5b253
    Marko Mäkelä authored
    row_ins_sec_index_entry_low(): Correct a condition that was
    inadvertently inverted
    in commit 89ec4b53 (MDEV-29603).
    
    We are not supposed to buffer INSERT operations into unique indexes,
    because duplicate key values would not be checked for. It is only
    allowed when using unique_checks=0, and in that case the user is
    supposed to guarantee that there are no duplicates.
    9bb5b253
row0ins.cc 104 KB