~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to fs/dump.sql

  • Committer: sasha at sashanet
  • Date: 2001-04-12 01:09:00 UTC
  • mfrom: (669.1.1)
  • Revision ID: sp1r-sasha@mysql.sashanet.com-20010412010900-14282
Ugly merge of 3.23 changes into 4.0 - fix up needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# MySQL dump 8.12
 
2
#
 
3
# Host: localhost    Database: mysqlfs
 
4
#--------------------------------------------------------
 
5
# Server version        3.23.33
 
6
 
 
7
#
 
8
# Table structure for table 'functions'
 
9
#
 
10
 
 
11
CREATE TABLE functions (
 
12
  type enum('server','database','table','field','key') NOT NULL default 'server',
 
13
  name char(20) NOT NULL default '',
 
14
  sql char(128) NOT NULL default '',
 
15
  PRIMARY KEY (type,name)
 
16
) TYPE=MyISAM;
 
17
 
 
18
#
 
19
# Dumping data for table 'functions'
 
20
#
 
21
 
 
22
INSERT INTO functions VALUES ('server','uptime','SHOW STATUS like \'Uptime\'');
 
23
INSERT INTO functions VALUES ('server','version','SELECT VERSION()');
 
24
INSERT INTO functions VALUES ('table','count','SELECT COUNT(*) FROM `%table`');
 
25
INSERT INTO functions VALUES ('key','min','SELECT MIN(%key) FROM `%table`');
 
26
INSERT INTO functions VALUES ('key','max','SELECT MAX(%key) FROM `%table`');
 
27
INSERT INTO functions VALUES ('key','avg','SELECT AVG(%key) FROM `%table`');
 
28