aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/sqlite/archives/patch-profiling.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/sqlite/archives/patch-profiling.sql')
-rw-r--r--maintenance/sqlite/archives/patch-profiling.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/maintenance/sqlite/archives/patch-profiling.sql b/maintenance/sqlite/archives/patch-profiling.sql
new file mode 100644
index 000000000000..a711dd70f3a5
--- /dev/null
+++ b/maintenance/sqlite/archives/patch-profiling.sql
@@ -0,0 +1,11 @@
+-- profiling table for SQLite
+-- 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 '',
+ PRIMARY KEY (pf_name, pf_server)
+);