diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b1717c8e76..aeded45374 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-06-29 Miguel de Dios + + * godmode/db/db_sanity.php: remove "cambio" column in query, this column use + in old version of pandora (read pandoradb_migrate_v2.x_to_v3.0.sql line 20). + Fixes: #2810974 + 2009-07-15 Miguel de Dios * godmode/agentes/manage_config_remote.php: fix name of colums in query. diff --git a/pandora_console/godmode/db/db_sanity.php b/pandora_console/godmode/db/db_sanity.php index 7d9d442f78..3609326d5f 100644 --- a/pandora_console/godmode/db/db_sanity.php +++ b/pandora_console/godmode/db/db_sanity.php @@ -42,7 +42,7 @@ if ($sanity == 1) { WHERE id_agente_modulo = $id_agente_modulo"; $total = get_db_sql ($sql); if ($total == 0) { - $sql = "INSERT INTO tagente_estado (id_agente_modulo, datos, timestamp, cambio, estado, id_agente, last_try, utimestamp, current_interval, running_by, last_execution_try) VALUE ($id_agente_modulo, 0, '0000-00-00 00:00:00', 0, 100, $id_agente, '0000-00-00 00:00:00', 0, 0, 0, 0)"; + $sql = "INSERT INTO tagente_estado (id_agente_modulo, datos, timestamp, estado, id_agente, last_try, utimestamp, current_interval, running_by, last_execution_try) VALUE ($id_agente_modulo, 0, '0000-00-00 00:00:00', 0, 100, $id_agente, '0000-00-00 00:00:00', 0, 0, 0, 0)"; echo "Inserting module $id_agente_modulo in state table
"; process_sql ($sql); }