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
11 lines
342 B
SQL
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;
|