2014-08-06 Sancho Lerena <slerena@artica.es>

* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
        pandoradb.sql: Fixed bug introduced in commit 9604
        altering tagente_modulo.post_process double precission
        making conversion from bytes to megabytes impossible
        (0,00000095367432). Pending to fix also the interface for
        module creation/edition which also fails. This is critical
        for SP1 release :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2014-08-06 07:37:46 +00:00
parent 0fcefffea1
commit 9b7a8cec71
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,13 @@
2014-08-06 Sancho Lerena <slerena@artica.es>
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
pandoradb.sql: Fixed bug introduced in commit 9604
altering tagente_modulo.post_process double precission
making conversion from bytes to megabytes impossible
(0,00000095367432). Pending to fix also the interface for
module creation/edition which also fails. This is critical
for SP1 release :(
2014-08-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Improved the submenus state

View File

@ -48,8 +48,6 @@ INSERT INTO `tconfig_os` (`name`, `description`, `icon_name`) VALUES ('Satellite
-- ---------------------------------------------------------------------
-- Table `tagente_modulo`
-- ---------------------------------------------------------------------
ALTER TABLE `tagente_modulo` MODIFY COLUMN `post_process` DOUBLE DEFAULT NULL;
/* 2014/05/21 */
ALTER TABLE `tagente_modulo` ADD COLUMN `min_ff_event_normal` int(4) unsigned default '0';
ALTER TABLE `tagente_modulo` ADD COLUMN `min_ff_event_warning` int(4) unsigned default '0';
ALTER TABLE `tagente_modulo` ADD COLUMN `min_ff_event_critical` int(4) unsigned default '0';

View File

@ -203,7 +203,7 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
`plugin_pass` text,
`plugin_parameter` text,
`id_plugin` int(10) default '0',
`post_process` double default NULL,
`post_process` double(18,5) default 0,
`prediction_module` bigint(14) default '0',
`max_timeout` int(4) unsigned default '0',
`max_retries` int(4) unsigned default '0',