Not a Bug
Details
Details
Assignee
Unassigned
UnassignedReporter
Alexandre K
Alexandre KLabels
Affects versions
Priority
Smart Checklist
Smart Checklist
Created September 20, 2019 at 1:27 AM
Updated March 6, 2024 at 11:50 AM
Resolved September 20, 2019 at 9:41 AM
Session variable "@@tx_read_only" is not updated when starting a read only transaction using: "START TRANSACTION READ ONLY;"
The session variable "tx_read_only" is capable of controlling of controlling read_only, as the following tests show.
REQUEST: That session variable "tx_read_only" be updated when executing "START TRANSACTION READ ONLY;"
When safety checking transactions to ensure that they are read-only, this variable would be useful to read, rather than attempting an insert to verify if read_only is actually on.
I've attached a copy of my system variables for reference.