branches/innodb+: Buffer DELETE and purge on UNIQUE indexes. Sunny
noted that the check for ignore_secondary_unique might not be disabled for deletes. Indeed, I see no reason for the check to exist for deletes. btr_op_enum: Document the constants. Add BTR_INSERT_IGNORE_UNIQUE_OP. btr_cur_search_to_nth_level(): Remove the variable ignore_sec_unique. Use btr_op instead. Invoke ibuf_should_try() with ignore_sec_unique = (btr_op != BTR_INSERT_OP), that is, always ignore the UNIQUE constraint when buffering delete-mark and purge. BTR_IGNORE_SEC_UNIQUE: Note that the flag only makes sense in conjunction with BTR_INSERT. rb://274 approved by Sunny Bains. This addresses Issue #471.
Showing
Please register or sign in to comment