We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
create table tbl_3 ( col_11 boolean default 0 ,col_12 enum ( 'Alice','Bob','Charlie','David' ) not null ,col_13 mediumint unsigned not null ,col_14 set ( 'Alice','Bob','Charlie','David' ) default 'Bob' ,col_15 bit ( 60 ) default 1015141872475219995 , key idx_5 ( col_12 ) ,primary key ( col_13 ) /*T![clustered_index] clustered */ ) charset utf8 collate utf8_bin partition by range ( col_13 ) ( partition p0 values less than (11883098), partition p1 values less than (maxvalue) ); insert into tbl_3 values ( 1,'David',13008582,'Alice',724165016357078201 ); insert into tbl_3 values ( 0,'Charlie',8123805,'Charlie',902223826218230892 ); insert into tbl_3 values ( 1,'Alice',1334229,'Bob',1072699928843391314 ); insert into tbl_3 values ( 1,'Alice',10614014,'Alice',null ); insert into tbl_3 values ( 1,'David',5134240,'Bob',753356488115581102 ); insert into tbl_3 values ( 0,'Charlie',10698501,'David',726820968154347355); insert into tbl_3 values ( 1,'Alice',266878,'Alice',20768586171821596 ) ; insert into tbl_3 values ( 0,'Bob',2867906,'Charlie',80199621009313244 ); insert into tbl_3 values ( 1,'David',13062709,'Alice',490739634559677711 ) ; insert into tbl_3 values ( 0,'Bob',7420870,'Charlie',437878499439721865 ); replace into tbl_3 set col_11 = 1, col_12 = 'David', col_13 = 12109528, col_14 = 'Alice', col_15 = 476100759802849621; replace into tbl_3 set col_11 = 1, col_12 = 'Bob', col_13 = 15018989, col_14 = 'Charlie', col_15 = 872554979340498964; insert into tbl_3 set col_11 = 1, col_12 = 'Charlie', col_13 = 3442269, col_14 = 'Alice', col_15 = 7514835303173184 on duplicate key update col_13 = 6181067, col_15 = 588851724475621839, col_11 = 1, col_14 = 'David', col_12 = 'David'; batch on col_13 limit 3 delete from tbl_3 where tbl_3.col_14 in ( 'Bob' ,'David' ,'Bob' ,'Charlie' ,'Charlie' ,'David' ,'Alice' ,'Alice' ,'Charlie' );
after batch delete, all rows should be deleted.
one row still exist
master
The text was updated successfully, but these errors were encountered:
after #49161, the issue started to arise
Sorry, something went wrong.
fixed in #51796
planner: Fix PointGet HandleColOffset (#51796)
1139439
close #51761, close #51797
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
after batch delete, all rows should be deleted.
3. What did you see instead (Required)
one row still exist
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: