From 9c5984a1be39098c4bd285c9a360891eb2d238f5 Mon Sep 17 00:00:00 2001 From: zarzuelo <noreply@pandorafms.org> Date: Mon, 29 Aug 2011 14:44:02 +0000 Subject: [PATCH] 2011-08-29 Sergio Martin <sergio.martin@artica.es> * include/db/mysql.php: Fixed the Rollback function in mysql engine to reset auto mode after rollback action git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/db/mysql.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8f88cb7da9..74c921c2d1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-08-29 Sergio Martin <sergio.martin@artica.es> + + * include/db/mysql.php: Fixed the Rollback function in + mysql engine to reset auto mode after rollback action + 2011-08-29 Miguel de Dios <miguel.dedios@artica.es> * godmode/agentes/configurar_agente.php: added in the call diff --git a/pandora_console/include/db/mysql.php b/pandora_console/include/db/mysql.php index 75126b3953..52e0468926 100644 --- a/pandora_console/include/db/mysql.php +++ b/pandora_console/include/db/mysql.php @@ -937,7 +937,7 @@ function mysql_db_process_sql_commit() { */ function mysql_db_process_sql_rollback() { mysql_query ('ROLLBACK '); - mysql_query ('SET AUTOCOMMIT = 0'); + mysql_query ('SET AUTOCOMMIT = 1'); } /**