r86750 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86749‎ | r86750 | r86751 >
Date:09:49, 23 April 2011
Author:maxsem
Status:ok
Tags:
Comment:
SQLite compatibility for patch-profiling.sql
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-profiling.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-profiling.sql
@@ -1,11 +1,12 @@
22 -- profiling table
33 -- This is optional
44
5 -CREATE TABLE /*$wgDBprefix*/profiling (
 5+CREATE TABLE /*_*/profiling (
66 pf_count int NOT NULL default 0,
77 pf_time float NOT NULL default 0,
88 pf_memory float NOT NULL default 0,
99 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 ''
1211 ) ENGINE=HEAP;
 12+
 13+CREATE UNIQUE INDEX /*i*/pf_name_server ON /*_*/profiling (pf_name, pf_server)
\ No newline at end of file

Follow-up revisions

RevisionCommit summaryAuthorDate
r867511.17: MFT r86750 (SQLite compatibility for patch-profiling.sqlmaxsem09:53, 23 April 2011
r86796Add missing semicolon from r86750reedy21:26, 23 April 2011

Status & tagging log