diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cff1b5430a..851391854c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2012-02-03 Miguel de Dios + + * pandoradb.sql, extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: change the + size of the field "post_process" in the tables "tagente_modulo" and + "tnetwork_component". + + Fixes: #3483814 + 2012-02-03 Ramon Novoa * pandoradb_data.sql, diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql index ca47a59cf6..f9b2579ec8 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql @@ -114,4 +114,9 @@ ALTER TABLE `talert_snmp` ADD COLUMN (`_snmp_f1_` text DEFAULT '', `_snmp_f2_` t -- Table `tagente_modulo` -- ----------------------------------------------------- ALTER TABLE `tagente_modulo` ADD COLUMN `module_ff_interval` int(4) unsigned default '0'; +ALTER TABLE `tagente_modulo` CHANGE COLUMN `post_process` `post_process` double(18,5) default NULL; +-- ----------------------------------------------------- +-- Table `tnetwork_component` +-- ----------------------------------------------------- +ALTER TABLE `tnetwork_component` CHANGE COLUMN `post_process` `post_process` double(18,5) default NULL; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index a5f55c06b9..88ad51b8db 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -169,7 +169,7 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` ( `plugin_pass` text default '', `plugin_parameter` text, `id_plugin` int(10) default '0', - `post_process` double(18,13) default NULL, + `post_process` double(18,5) default NULL, `prediction_module` bigint(14) default '0', `max_timeout` int(4) unsigned default '0', `custom_id` varchar(255) default '', @@ -566,7 +566,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` ( `custom_string_3` text default '', `custom_integer_1` int(10) default 0, `custom_integer_2` int(10) default 0, - `post_process` double(18,13) default 0, + `post_process` double(18,5) default 0, PRIMARY KEY (`id_nc`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;