summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-hitcounter.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-hitcounter.sql')
-rw-r--r--maintenance/archives/patch-hitcounter.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/maintenance/archives/patch-hitcounter.sql b/maintenance/archives/patch-hitcounter.sql
new file mode 100644
index 00000000..260f717f
--- /dev/null
+++ b/maintenance/archives/patch-hitcounter.sql
@@ -0,0 +1,9 @@
+--
+-- hitcounter table is used to buffer page hits before they are periodically
+-- counted and added to the cur_counter column in the cur table.
+-- December 2003
+--
+
+CREATE TABLE /*$wgDBprefix*/hitcounter (
+ hc_id INTEGER UNSIGNED NOT NULL
+) TYPE=HEAP MAX_ROWS=25000;