2009-06-29 Miguel de Dios <miguel.dedios@artica.es>

* 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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-07-15 15:25:08 +00:00
parent 67666ae492
commit b7b6b45192
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-06-29 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es>
* godmode/agentes/manage_config_remote.php: fix name of colums in query.

View File

@ -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 <br>";
process_sql ($sql);
}