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

« back to all changes in this revision

Viewing changes to upgrades/dbpatches/1.0alpha12_to_1.0beta1/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 disable_until int(4) default '0' not null;
2
 
 
3
 
alter table triggers add url varchar(255) default '' not null;
4
 
 
5
 
#
6
 
# Table structure for table 'services'
7
 
#
8
 
 
9
 
CREATE TABLE services (
10
 
  serviceid             int(4)          NOT NULL auto_increment,
11
 
  name                  varchar(128)    DEFAULT '' NOT NULL,
12
 
  status                int(1)          DEFAULT '0' NOT NULL,
13
 
  triggerid             int(4),
14
 
  PRIMARY KEY (serviceid)
15
 
);
16
 
 
17
 
#
18
 
# Table structure for table 'services_links'
19
 
#
20
 
 
21
 
CREATE TABLE services_links (
22
 
  serviceupid           int(4)          DEFAULT '0' NOT NULL,
23
 
  servicedownid         int(4)          DEFAULT '0' NOT NULL,
24
 
  soft                  int(1)          DEFAULT '0' NOT NULL,
25
 
  KEY (serviceupid),
26
 
  KEY (servicedownid),
27
 
  UNIQUE (serviceupid,servicedownid)
28
 
);