Merge pull request #2276 from sysown/v2.0.7-0926

Apply mysql_query_rules.destination_hostgroup also when unable to parse SET statement.
pull/2277/head
René Cannaò 7 years ago committed by GitHub
commit e2b6a7a2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3255,6 +3255,11 @@ __get_pkts_from_client:
if (locked_on_hostgroup < 0) {
if (lock_hostgroup) {
// we are locking on hostgroup now
if ( qpo->destination_hostgroup >= 0 ) {
if (transaction_persistent_hostgroup == -1) {
current_hostgroup=qpo->destination_hostgroup;
}
}
locked_on_hostgroup = current_hostgroup;
thread->status_variables.hostgroup_locked++;
thread->status_variables.hostgroup_locked_set_cmds++;

Loading…
Cancel
Save