diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index 181353486..2527da533 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -425,7 +425,7 @@ bool MySQL_Session::handler_SetAutocommit(PtrSize_t *pkt) { } else { // as there is no active transaction, we do no need to forward it // just change internal state - autocommit=false; + autocommit=true; goto __ret_autocommit_OK; } }