~ubuntu-dev/ubuntu/lucid/zabbix/lucid-201002110857

« back to all changes in this revision

Viewing changes to upgrades/dbpatches/1.1beta6_to_1.1beta7/mysql/patch.sql

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2007-07-02 09:06:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070702090651-8l6fl3fjw9rh6l2u
Tags: 1:1.4.1-2
Add patch from SVN in order to fix Incorrect processing of character '%'
in user parameters and remote commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
alter table hosts add   templateid      int(4) DEFAULT '0' NOT NULL;
2
 
alter table items add   templateid      int(4) DEFAULT '0' NOT NULL;
3
 
alter table triggers add        templateid      int(4) DEFAULT '0' NOT NULL;
4
 
alter table graphs add  templateid      int(4) DEFAULT '0' NOT NULL;
5
 
 
6
 
alter table items add   valuemapid      int(4) DEFAULT '0' NOT NULL;
7
 
 
8
 
alter table actions add status  int(1) DEFAULT '0' NOT NULL;
9
 
 
10
 
--
11
 
--
12
 
 
13
 
CREATE TABLE valuemaps (
14
 
  valuemapid            int(4)          NOT NULL auto_increment,
15
 
  name                  varchar(64)     DEFAULT '' NOT NULL,
16
 
  PRIMARY KEY (valuemapid),
17
 
  UNIQUE (name)
18
 
) type=InnoDB;
19
 
 
20
 
--
21
 
--
22
 
 
23
 
CREATE TABLE mappings (
24
 
  mappingid             int(4)          NOT NULL auto_increment,
25
 
  valuemapid            int(4)          DEFAULT '0' NOT NULL,
26
 
  value                 varchar(64)     DEFAULT '' NOT NULL,
27
 
  newvalue              varchar(64)     DEFAULT '' NOT NULL,
28
 
  PRIMARY KEY (mappingid),
29
 
  KEY valuemapid (valuemapid)
30
 
) type=InnoDB;
31
 
 
32
 
--
33
 
--
34
 
 
35
 
CREATE TABLE housekeeper (
36
 
  housekeeperid         int(4)          NOT NULL auto_increment,
37
 
  tablename             varchar(64)     DEFAULT '' NOT NULL,
38
 
  field                 varchar(64)     DEFAULT '' NOT NULL,
39
 
  value                 int(4)          DEFAULT '0' NOT NULL,
40
 
  PRIMARY KEY (housekeeperid)
41
 
) type=InnoDB;