summaryrefslogtreecommitdiff
path: root/mysql-test/main/trans_read_only.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/trans_read_only.test')
-rw-r--r--mysql-test/main/trans_read_only.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/main/trans_read_only.test b/mysql-test/main/trans_read_only.test
index 38b2a833216..d8c2f20b6a9 100644
--- a/mysql-test/main/trans_read_only.test
+++ b/mysql-test/main/trans_read_only.test
@@ -8,18 +8,18 @@
--echo # Test9: The --transaction-read-only startup option.
--echo # Check that the option was set by the .opt file.
-SELECT @@tx_read_only;
+SELECT @@transaction_read_only;
--echo # Also for new connections.
connect (con1, localhost, root);
-SELECT @@tx_read_only;
+SELECT @@transaction_read_only;
SET SESSION TRANSACTION READ WRITE;
-SELECT @@tx_read_only;
+SELECT @@transaction_read_only;
disconnect con1;
--source include/wait_until_disconnected.inc
connection default;
-SELECT @@tx_read_only;
+SELECT @@transaction_read_only;
--echo #