Renaming a table inside a transaction and using it doesn't work #39664
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
affects-6.2
affects-6.3
affects-6.4
affects-6.5
report/community
The community has encountered this bug.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
type/compatibility
This happens only if that multi-statement query is inside a transaction (which is how diesel runs migrations).
Here is the minimal reproduction:
Tested against a new instance run by tiup:
Originally posted by @Pythoner6 in #24194 (comment)
The text was updated successfully, but these errors were encountered: