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

MXS-3282: Select query inside transactions are routed to slave with s… #212

Merged
merged 1 commit into from Nov 5, 2020

Conversation

dicode-nl
Copy link
Contributor

…ession_track_trx_state=true

if (trx_state.find_first_of("TI") == std::string::npos) is the reverse of what we want.
If neither T and I are set, we set our trx state to SESSION_TRX_ACTIVE.
This should be If either T or I is set, our trx_state is SESSION_TRX_ACTIVE

I am contributing the new code of the whole pull request, including one or
several files that are either new files or modified ones, under the BSD-new
license.

…ession_track_trx_state=true

if (trx_state.find_first_of("TI") == std::string::npos) is the reverse of what we want.
If neither T and I are set, we set our trx state to SESSION_TRX_ACTIVE.
This should be If either T or I is set, our trx_state is SESSION_TRX_ACTIVE
@markus456 markus456 merged commit a6aa083 into mariadb-corporation:2.5 Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants