2009-02-04 Ramon Novoa <rnovoa@artica.es>

* lib/PandoraFMS/DB.pm: Use db_do instead of db_update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2009-02-04 09:47:19 +00:00
parent 9f7e9edf00
commit 1fd3d30aff
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-02-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Use db_do instead of db_update.
2000-02-03 Sancho Lerena <slerena@artica.es>
* pandora_db.pl: BUGFIX. DB Maintance was deleting data older than 24hr

View File

@ -2400,7 +2400,7 @@ sub update_on_error {
# Modules who cannot connect or something go bad, update last_execution_try field
logger ($pa_config, "Cannot obtain Module from IdAgentModule $id_agent_module", 3);
db_update ("UPDATE tagente_estado
db_do ("UPDATE tagente_estado
SET current_interval = 300, last_execution_try = $utimestamp
WHERE id_agente_modulo = $id_agent_module", $dbh);
;