Bug #102999 | InnoDB Fulltext search doesn't show some records after rollback to savepoint | ||
---|---|---|---|
Submitted: | 16 Mar 2021 11:26 | Modified: | 21 Apr 2021 18:54 |
Reporter: | Frank Ma | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: FULLTEXT search | Severity: | S3 (Non-critical) |
Version: | 5.7.33 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Mar 2021 11:26]
Frank Ma
[17 Mar 2021 13:14]
MySQL Verification Team
Hi Mr. Ma, Thank you for your bug report. However, this is not a bug. SQL standard specifies in the sub-chapter 5.4, that savepoint identifiers must be unique within a transaction. Hence, the best that we can do is to verify this report as a feature request. This would lead to new behaviour, which would return the general error on wrongly set identifiers within a transaction. However, that feature will not be implemented that soon, since it would break a number of applications. So, it is either a feature request or "Not a bug".
[19 Mar 2021 2:57]
Frank Ma
Well, the facts are 1) using same savepoint name within a transaction is allowed, when a savepoint is taken, the existing one with the same name will be erased, this is what innodb does, as well as other db vendors 2) innodb engine works OK, from the test output mentioned in the repro, stattement "SELECT * FROM articles;" shows two records, which is expected, this also confirms 1) 3) the problem here is only with full-text search, references to some records are lost when releasing the savepoint maintained internally in fts, this is the root cause.
[19 Mar 2021 13:15]
MySQL Verification Team
Hi, Please reply to the questions that we have asked in our previous comment.
[20 Apr 2021 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".