Kill hitcounter remains
authorraymond <raimond.spekking@gmail.com>
Wed, 28 Jan 2015 16:26:44 +0000 (17:26 +0100)
committerKrinkle <krinklemail@gmail.com>
Wed, 28 Jan 2015 18:26:04 +0000 (18:26 +0000)
Followup to Ieeb558f9523c11965cbc1941cad4f316c00c85c5
No need to create the table and drop it then

Change-Id: I11409c6e5a76d65365c5652039c584e249dbf556

includes/installer/MysqlUpdater.php
maintenance/archives/patch-hitcounter.sql [deleted file]

index 7a36f01..81f563a 100644 (file)
@@ -37,7 +37,6 @@ class MysqlUpdater extends DatabaseUpdater {
                        array( 'addField', 'ipblocks', 'ipb_expiry', 'patch-ipb_expiry.sql' ),
                        array( 'doInterwikiUpdate' ),
                        array( 'doIndexUpdate' ),
-                       array( 'addTable', 'hitcounter', 'patch-hitcounter.sql' ),
                        array( 'addField', 'recentchanges', 'rc_type', 'patch-rc_type.sql' ),
                        array( 'addIndex', 'recentchanges', 'new_name_timestamp', 'patch-rc-newindex.sql' ),
 
diff --git a/maintenance/archives/patch-hitcounter.sql b/maintenance/archives/patch-hitcounter.sql
deleted file mode 100644 (file)
index 2d698f6..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
---
--- 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
-) ENGINE=MEMORY MAX_ROWS=25000;