Bug #96205 | not in expect, two versions row datas in a some transaction | ||
---|---|---|---|
Submitted: | 15 Jul 2019 9:05 | Modified: | 15 Jul 2019 14:09 |
Reporter: | Ye Jinrong | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[15 Jul 2019 9:05]
Ye Jinrong
[15 Jul 2019 13:27]
MySQL Verification Team
Hi Mr. Jinrong, Thank you for your bug report. Before I can attempt to reproduce this scenario, would you be so kind to tell me which 5.7 and 8.0 releases did you test exactly, when you observed this behaviour. Thanks in advance.
[15 Jul 2019 13:34]
MySQL Verification Team
Hello Mr. Jinrong, There is no need for you to report to us anything. This is actually the expected behaviour, that is fully described in our Reference Manual. Look for example in our manual for 8.0, sub-chapter 15.7.4. Not a bug.
[15 Jul 2019 14:09]
Ye Jinrong
Hi Sinisa Milivojevic, MySQL version is 8.0.16 an under MacOS. Do you mean it is the scenario of 'Phantom Rows', i do not think so. After i update c1 as "update t1 set c1=c1+1", and read it as "select * from t1 where c2=2", i think it shoud only return the new version row, the old version row should not be retuened. I has upload the test case in pdf file.
[15 Jul 2019 14:09]
Ye Jinrong
Hi Sinisa Milivojevic, MySQL version is 8.0.16 an under MacOS. Do you mean it is the scenario of 'Phantom Rows', i do not think so. After i update c1 as "update t1 set c1=c1+1", and read it as "select * from t1 where c2=2", i think it shoud only return the new version row, the old version row should not be retuened. I has upload the test case in pdf file.
[15 Jul 2019 14:10]
Ye Jinrong
test case, how to repeate
Attachment: RR-read-not-in-expect.pdf (application/pdf, text), 111.27 KiB.
[15 Jul 2019 15:11]
MySQL Verification Team
This is documented behaviour. Just read the chapter that I cited.