Skip to content

Commit

Permalink
Reset auto_increment on disconnect #1943
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Mar 22, 2019
1 parent b8da419 commit f4d3d6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mysql_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1767,4 +1767,5 @@ void MySQL_Connection::reset() {
delete local_stmts;
local_stmts=new MySQL_STMTs_local_v14(false);
creation_time = monotonic_time();
auto_increment_delay_token = 0;
}

0 comments on commit f4d3d6b

Please sign in to comment.