-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: Stop using txn.OrigTimestamp to reset TableCollection
We use the transaction OrigTimestamp to figure out if a transaction is being retried, triggering a reset of TableCollection. This logic would get triggered when running PREPARE within a transaction, because PREPARE uses it's own transaction and thus has a different OrigTimestamp. Removed this logic because transaction retries trigger resetting the TableCollection in the new conn-executor code. fixes #24578 Release note sql: fix PREPARE hanging when run in the same transaction as a CREATE TABLE
- Loading branch information
1 parent
482ab05
commit 2e8349f
Showing
3 changed files
with
103 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters