You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
create table t(id int primary key, v int);
insert into t values(1, 10), (2, 20);
-- txn1: begin pessimistic;
-- txn1: select * from t;
-- txn2: update t set v = v * 10;
-- txn1: select (select v from t where id = 2 for update) from dual;
2. What did you expect to see? (Required)
last stmt return newest value --- 200, just as normal select v from t where id = 2 for update
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
last stmt return newest value ---
200
, just as normalselect v from t where id = 2 for update
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: