From a231aaa397e757a600628f0bfadf3f532d80b32e Mon Sep 17 00:00:00 2001 From: slerena Date: Thu, 13 Dec 2007 22:51:37 +0000 Subject: [PATCH] 2007-12-14 Sancho Lerena * pandoradb.sql: BUG FIXED, generic_data_inc data don't work with small float data. Need to alter tagente_datos_inc table for field "datos. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/pandoradb.sql | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0dadb06868..22feadea12 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2007-12-14 Sancho Lerena + + * pandoradb.sql: BUG FIXED, generic_data_inc data don't work with + small float data. Need to alter tagente_datos_inc table for field + "datos. + 2007-11-19 Sancho Lerena * index.php: Included patch summited by Guru Evi (guruevi) for HTTPS support. THanks evi ! :) diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 4f5fd617a0..1e750c1fea 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -62,7 +62,7 @@ CREATE TABLE `tagente_datos` ( CREATE TABLE `tagente_datos_inc` ( `id_adi` bigint(20) unsigned NOT NULL auto_increment, `id_agente_modulo` bigint(20) NOT NULL default '0', - `datos` bigint(12) default NULL, + `datos` double(18,2) default NULL, `timestamp` datetime NOT NULL default '0000-00-00 00:00:00', `utimestamp` int(10) unsigned default '0', PRIMARY KEY (`id_adi`),