[BUG] prevent protection for insert and delete for insert on dup
This commit is contained in:
@ -129,9 +129,7 @@ int check_sequence_set_violation(const concurrent_control::ObWriteFlag write_fla
|
|||||||
// same row more than once if the sql insert onto duplicate with the
|
// same row more than once if the sql insert onto duplicate with the
|
||||||
// same row more than once. It may have no chance to batch the same row.
|
// same row more than once. It may have no chance to batch the same row.
|
||||||
// So we need bypass this case.
|
// So we need bypass this case.
|
||||||
} else if (write_flag.is_insert_up()
|
} else if (write_flag.is_insert_up()) {
|
||||||
&& blocksstable::ObDmlFlag::DF_UPDATE == writer_dml_flag
|
|
||||||
&& blocksstable::ObDmlFlag::DF_UPDATE == locker_dml_flag) {
|
|
||||||
// bypass the case
|
// bypass the case
|
||||||
// Case 9: For the case of the write only index, it may operate the same
|
// Case 9: For the case of the write only index, it may operate the same
|
||||||
// row more than once under the case that main table has two rows pointing
|
// row more than once under the case that main table has two rows pointing
|
||||||
|
|||||||
Reference in New Issue
Block a user