Skip to content

Commit

Permalink
Multiplexing erroneously disabled #1897
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Feb 10, 2019
1 parent 5c74bba commit 61bc777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MySQL_Session.cpp
Expand Up @@ -2699,7 +2699,7 @@ int MySQL_Session::handler() {
if (myconn->mysql->affected_rows) {
if (myconn->mysql->affected_rows != ULLONG_MAX) {
last_HG_affected_rows = current_hostgroup;
if (mysql_thread___auto_increment_delay_multiplex) {
if (mysql_thread___auto_increment_delay_multiplex && myconn->mysql->insert_id) {
myconn->auto_increment_delay_token = mysql_thread___auto_increment_delay_multiplex + 1;
}
}
Expand Down

0 comments on commit 61bc777

Please sign in to comment.