Skip to content

Commit

Permalink
Additions to accesslog
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianAker committed Sep 20, 2002
1 parent 6949f36 commit e9fdee9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/mysql/slashschema_create.sql
Expand Up @@ -62,7 +62,7 @@ CREATE TABLE accesslog (
section varchar(30) DEFAULT 'index' NOT NULL,
bytes mediumint UNSIGNED DEFAULT 0 NOT NULL,
INDEX host_addr_part (host_addr(16)),
INDEX op_part (op(12)),
INDEX op_part (op(12), section),
INDEX ts (ts),
PRIMARY KEY (id)
) TYPE = myisam;
Expand Down
3 changes: 2 additions & 1 deletion sql/mysql/upgrades
Expand Up @@ -747,5 +747,6 @@ INSERT INTO vars (name, value, description) VALUES ('offer_insecure_login_link',

# End of T_2_3_0_47

ALTER TABLE accesslog DROP INDEX op_part;
ALTER TABLE accesslog ADD INDEX op_part (op(12), section);
INSERT INTO vars (name, value, description) VALUES ('mod_unm2able_token_cost','1','What is the token cost of performing an un-M2able mod?');

0 comments on commit e9fdee9

Please sign in to comment.