From f4d3d6b637353b5d57b8b0f787084488e76be444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Fri, 22 Mar 2019 19:38:42 +1100 Subject: [PATCH] Reset auto_increment on disconnect #1943 --- lib/mysql_connection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mysql_connection.cpp b/lib/mysql_connection.cpp index 8cdb509b37..4c883e6195 100644 --- a/lib/mysql_connection.cpp +++ b/lib/mysql_connection.cpp @@ -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; }