Hi
in the upgrade script from 1.4 to 1.6 (zabbix-1.6.6/upgrades/dbpatches/1.6/mysql/patch.sql) the following code can be found:
which reduces the size of the color field from varchar(32) to varchar(6).
However, in the script to create the DB (zabbix-1.6.6/create/schema/mysql.sql) you'll find:
This creates the table with the color field set to varchar(32).
OK, this might not show up as an error, anywhere.
I'm just surprised.
Regards
Norbert.
in the upgrade script from 1.4 to 1.6 (zabbix-1.6.6/upgrades/dbpatches/1.6/mysql/patch.sql) the following code can be found:
Code:
alter table graphs_items change color color varchar(6) DEFAULT '009600' NOT NULL;
However, in the script to create the DB (zabbix-1.6.6/create/schema/mysql.sql) you'll find:
Code:
CREATE TABLE graphs_items (
gitemid bigint unsigned DEFAULT '0' NOT NULL,
graphid bigint unsigned DEFAULT '0' NOT NULL,
itemid bigint unsigned DEFAULT '0' NOT NULL,
drawtype integer DEFAULT '0' NOT NULL,
sortorder integer DEFAULT '0' NOT NULL,
color varchar(32) DEFAULT '009600' NOT NULL,
yaxisside integer DEFAULT '1' NOT NULL,
calc_fnc integer DEFAULT '2' NOT NULL,
type integer DEFAULT '0' NOT NULL,
periods_cnt integer DEFAULT '5' NOT NULL,
PRIMARY KEY (gitemid)
) type=InnoDB;
OK, this might not show up as an error, anywhere.
I'm just surprised.
Regards
Norbert.
Comment