From d2138e8fc94323ea8056dae7b5f30832a616145a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Mon, 25 Apr 2016 18:30:53 +0000 Subject: [PATCH] Fix status bug in MySQL_Session::handler_SetAutocommit() --- lib/MySQL_Session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }