From 6d33bd3d52d0efc9c91a83b4e5502c0a57184d57 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Mon, 29 Oct 2012 18:41:20 +0000 Subject: [PATCH] 2012-10-29 Ramon Novoa * extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql, extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Move the number of retries for web modules from plugin_pass to max_retries. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ .../extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql | 3 +++ .../extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql | 3 +++ .../extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql | 3 +++ 4 files changed, 16 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f6c93b46f8..d91992cb25 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2012-10-29 Ramon Novoa + + * extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql, + extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, + extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Move the number + of retries for web modules from plugin_pass to max_retries. + 2012-10-29 Miguel de Dios * extensions/update_manager.php: silenced the notice PHP message diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql index 22ede5ce65..46e0d5d683 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql @@ -158,6 +158,9 @@ ALTER TABLE `tagente_modulo` ADD COLUMN `warning_inverse` tinyint(1) unsigned de ALTER TABLE `tagente_modulo` ADD COLUMN `cron_interval` varchar(100) default ''; ALTER TABLE `tagente_modulo` ADD COLUMN `max_retries` int(4) UNSIGNED NOT NULL default 0; +-- Move the number of retries for web modules from plugin_pass to max_retries +UPDATE `tagente_modulo` SET max_retries=plugin_pass WHERE id_modulo=7; + ------------------------------------------------------------------------ -- Table `tnetwork_component` ------------------------------------------------------------------------ diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql index ee6a8fcb92..fd8ba426f3 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql @@ -305,6 +305,9 @@ ALTER TABLE tagente_modulo ADD (quiet NUMBER(5, 0) default 0 NOT NULL); ALTER TABLE tagente_modulo ADD (cron_interval VARCHAR2(100) DEFAULT ''); ALTER TABLE tagente_modulo ADD (max_retries NUMBER(10, 0) default 0); +-- Move the number of retries for web modules from plugin_pass to max_retries +UPDATE tagente_modulo SET max_retries=plugin_pass WHERE id_modulo=7; + -- ----------------------------------------------------- -- Table tplugin -- ----------------------------------------------------- diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql index 78a3c06f11..f86294ce23 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql @@ -180,6 +180,9 @@ ALTER TABLE "tagente_modulo" ADD COLUMN "warning_inverse" SMALLINT NOT NULL defa ALTER TABLE "tagente_modulo" ADD COLUMN "cron_interval" varchar(100) default ''; ALTER TABLE "tagente_modulo" ADD COLUMN "max_retries" INTEGER default 0; +-- Move the number of retries for web modules from plugin_pass to max_retries +UPDATE "tagente_modulo" SET max_retries=plugin_pass WHERE id_modulo=7; + -- ----------------------------------------------------- -- Table "tevent_filter" -- -----------------------------------------------------