Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
6d53addf
Commit
6d53addf
authored
May 22, 2002
by
Leigh B. Stoller
Browse files
A table of tables to preen in the testsuite to cut down on the db
size. Works nicely!
parent
c10f718a
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
6d53addf
...
...
@@ -726,6 +726,40 @@ CREATE TABLE switch_stacks (
PRIMARY
KEY
(
node_id
)
)
TYPE
=
MyISAM
;
#
#
Table
structure
for
table
'testsuite_preentables'
#
CREATE
TABLE
testsuite_preentables
(
table_name
varchar
(
128
)
NOT
NULL
default
''
,
action
enum
(
'drop'
,
'clean'
,
'prune'
)
default
'drop'
,
PRIMARY
KEY
(
table_name
)
)
TYPE
=
MyISAM
;
#
#
Dumping
data
for
table
'testsuite_preentables'
#
INSERT
INTO
testsuite_preentables
VALUES
(
'comments'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'iface_counters'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'lastlogin'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'login'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'loginmessage'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'node_idlestats'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'nodelog'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'nodeuidlastlogin'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'nologins'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'userslastlogin'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'uidnodelastlogin'
,
'drop'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'next_reserve'
,
'clean'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'last_reservation'
,
'clean'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'current_reloads'
,
'clean'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'scheduled_reloads'
,
'clean'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'users'
,
'prune'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'projects'
,
'prune'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'group_membership'
,
'prune'
);
INSERT
INTO
testsuite_preentables
VALUES
(
'groups'
,
'prune'
);
#
#
Table
structure
for
table
'tiplines'
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment