We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
mysql> select @@session.tx_read_only; +------------------------+ | @@session.tx_read_only | +------------------------+ | 0 | +------------------------+ 1 row in set (0.00 sec) mysql> set session transaction read only; Query OK, 0 rows affected (0.00 sec) mysql> select @@session.tx_read_only; +------------------------+ | @@session.tx_read_only | +------------------------+ | 1 | +------------------------+ 1 row in set (0.00 sec) mysql>
What did you expect to see? @@session.tx_read_only should be 1 after executing set session transaction read only;
set session transaction read only;
What did you see instead? @@session.tx_read_only still be 0
What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)? All tidb-server versions could reproduce this issue.
tidb-server -V
select tidb_version();
The text was updated successfully, but these errors were encountered:
100bc58
parser, variable: fix #5478, make 'set transaction read only' works. (#…
39ba5ed
…5491)
winkyao
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
What did you expect to see?
@@session.tx_read_only should be 1 after executing
set session transaction read only;
What did you see instead?
@@session.tx_read_only still be 0
What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?All tidb-server versions could reproduce this issue.
The text was updated successfully, but these errors were encountered: