Index: trunk/phase3/maintenance/archives/patch-profiling.sql |
— | — | @@ -1,11 +1,12 @@ |
2 | 2 | -- profiling table |
3 | 3 | -- This is optional |
4 | 4 | |
5 | | -CREATE TABLE /*$wgDBprefix*/profiling ( |
| 5 | +CREATE TABLE /*_*/profiling ( |
6 | 6 | pf_count int NOT NULL default 0, |
7 | 7 | pf_time float NOT NULL default 0, |
8 | 8 | pf_memory float NOT NULL default 0, |
9 | 9 | pf_name varchar(255) NOT NULL default '', |
10 | | - pf_server varchar(30) NOT NULL default '', |
11 | | - UNIQUE KEY pf_name_server (pf_name, pf_server) |
| 10 | + pf_server varchar(30) NOT NULL default '' |
12 | 11 | ) ENGINE=HEAP; |
| 12 | + |
| 13 | +CREATE UNIQUE INDEX /*i*/pf_name_server ON /*_*/profiling (pf_name, pf_server) |
\ No newline at end of file |