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 + + * include/db/mysql.php: Fixed the Rollback function in + mysql engine to reset auto mode after rollback action + 2011-08-29 Miguel de Dios * 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'); } /**