Bug #60011 | FR: Consolidate tx_isolation and transaction-isolation | ||
---|---|---|---|
Submitted: | 8 Feb 2011 17:53 | ||
Reporter: | Leandro Morgado | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Options | Severity: | S4 (Feature request) |
Version: | all | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[8 Feb 2011 17:53]
Leandro Morgado
[8 Feb 2011 18:48]
Simon Mudd
Please implement option (1) only. The other option just makes things more confusing.
[9 Feb 2011 6:35]
Roel Van de Paar
Option (1) should not be implemented since it breaks backwards compatibility. Option (3): Keep tx_isolation variable, but allow both tx_isolation and transaction-isolation in the my.cnf. Then fix all documentation to refer to tx_isolation only, and [optionally] (after a long time) deprecate transaction-isolation. This does not break backward compatibility and avoids the two-server-variables confusion.
[9 Feb 2011 7:49]
Simon Mudd
(3) and (1) are the same depending on how you look at this. I'd suggest you add warnings about the "appropriate variables being deprecated" in 5.6 (since this is not GA yet) and that in a _later_ version (since we don't know what will come after 5.6) the deprecated variables will be removed. Then documentation will be aligned with the change to be made, and after 5.6 you remove the old variable. Personally I'd prefer keeping the longer "more readable variable", transaction_isolation.