wiki.techinc.nl/maintenance/archives/patch-profiling.sql
Daniel Friesen 19b85e4191 Change all uses of TYPE= in MySQL to ENGINE=
According to the MySQL manual, TYPE= has been depreciated since MySQL 4.0, starting in 5.1 database warnings are issued when TYPE= is used instead of ENGINE=, and in MySQL 5.2 TYPE= will be removed.

Using ENGINE= inside of sql should serve the best compatibility since we require at least MySQL 4.0
2008-07-10 22:00:04 +00:00

11 lines
342 B
SQL

-- profiling table
-- This is optional
CREATE TABLE /*$wgDBprefix*/profiling (
pf_count int NOT NULL default 0,
pf_time float NOT NULL default 0,
pf_memory float NOT NULL default 0,
pf_name varchar(255) NOT NULL default '',
pf_server varchar(30) NOT NULL default '',
UNIQUE KEY pf_name_server (pf_name, pf_server)
) ENGINE=HEAP;