Skip to content
New issue

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

fix readonly connection set #186

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lure
Copy link

@lure lure commented Jun 27, 2023

According to the documentation, MariaDB support the read-only mode.
However, having the Connection.isReadOnly == true results in stateFlag = 28 which contains binary 100 of ConnectionState.STATE_READ_ONLY, while database reports the TX as trx_is_read_only: 0

According to the documentation, MariaDB support the `read-only` mode. 
However, having the `Connection.isReadOnly == true` results in  `stateFlag = 28` which contains binary `100`  of ConnectionState.STATE_READ_ONLY, while database reports the TX as `trx_is_read_only: 0`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant