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

« back to all changes in this revision

Viewing changes to upgrades/dbpatches/1.1alpha10_to_1.1alpha11/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 screens_items add   rowspan         int(4)  DEFAULT '0' NOT NULL;
2
 
alter table users add   autologout              int(4)  DEFAULT '900' NOT NULL;
3
 
alter table users add   lang                    varchar(5)      DEFAULT 'en_gb' NOT NULL;
4
 
 
5
 
drop table escalation_rules;
6
 
drop table escalations;
7
 
 
8
 
--
9
 
--
10
 
 
11
 
CREATE TABLE escalations (
12
 
  escalationid          int(4)          NOT NULL auto_increment,
13
 
  name                  varchar(64)     DEFAULT '0' NOT NULL,
14
 
  dflt                  int(2)          DEFAULT '0' NOT NULL,
15
 
  PRIMARY KEY (escalationid),
16
 
  UNIQUE (name)
17
 
) type=InnoDB;
18
 
 
19
 
--
20
 
--
21
 
 
22
 
CREATE TABLE escalation_rules (
23
 
  escalationruleid              int(4)          NOT NULL auto_increment,
24
 
  escalationid          int(4)          DEFAULT '0' NOT NULL,
25
 
  level                 int(4)          DEFAULT '0' NOT NULL,
26
 
  period                varchar(100)    DEFAULT '1-7,00:00-23:59' NOT NULL,
27
 
  delay                 int(4)          DEFAULT '0' NOT NULL,
28
 
  actiontype            int(4)          DEFAULT '0' NOT NULL,
29
 
  PRIMARY KEY (escalationruleid),
30
 
  KEY (escalationid)
31
 
) type=InnoDB;
32
 
 
33
 
--
34
 
--
35
 
 
36
 
CREATE TABLE escalation_log (
37
 
  escalationlogid       int(4)          NOT NULL auto_increment,
38
 
  triggerid             int(4)          DEFAULT '0' NOT NULL,
39
 
  alarmid               int(4)          DEFAULT '0' NOT NULL,
40
 
  escalationid          int(4)          DEFAULT '0' NOT NULL,
41
 
  actiontype            int(4)          DEFAULT '0' NOT NULL,
42
 
  level                 int(4)          DEFAULT '0' NOT NULL,
43
 
  adminlevel            int(4)          DEFAULT '0' NOT NULL,
44
 
  nextcheck             int(4)          DEFAULT '0' NOT NULL,
45
 
  status                int(4)          DEFAULT '0' NOT NULL,
46
 
  PRIMARY KEY (escalationlogid),
47
 
  KEY (alarmid,escalationid),
48
 
  KEY (triggerid)
49
 
) type=InnoDB;