r58031 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58030‎ | r58031 | r58032 >
Date:18:04, 22 October 2009
Author:maxsem
Status:ok
Tags:
Comment:
Finished bringing SQLite updater in par with MySQL
Modified paths:
  • /trunk/phase3/maintenance/sqlite/archives/patch-log_user_text.sql (added) (history)
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/sqlite/archives/patch-log_user_text.sql
@@ -0,0 +1,5 @@
 2+ALTER TABLE /*$wgDBprefix*/logging ADD COLUMN log_user_text TEXT NOT NULL default '';
 3+ALTER TABLE /*$wgDBprefix*/logging ADD COLUMN log_page INTEGER NULL;
 4+
 5+CREATE INDEX /*i*/log_user_type_time ON /*_*/logging (log_user, log_type, log_timestamp);
 6+CREATE INDEX /*i*/log_page_id_time ON /*_*/logging (log_page,log_timestamp);
Property changes on: trunk/phase3/maintenance/sqlite/archives/patch-log_user_text.sql
___________________________________________________________________
Name: svn:eol-style
17 + native
Index: trunk/phase3/maintenance/updaters.inc
@@ -183,8 +183,12 @@
184184 array( 'add_table', 'user_properties', 'patch-user_properties.sql' ),
185185 array( 'add_table', 'log_search', 'patch-log_search.sql' ),
186186 array( 'do_log_search_population' ),
 187+ array( 'add_field', 'logging', 'log_user_text', 'patch-log_user_text.sql' ),
 188+ array( 'add_table', 'l10n_cache', 'patch-l10n_cache.sql' ),
 189+ array( 'add_table', 'external_user', 'patch-external_user.sql' ),
 190+ array( 'add_index', 'log_search', 'ls_field_val', 'patch-log_search-rename-index.sql' ),
 191+ array( 'add_index', 'change_tag', 'change_tag_rc_tag', 'patch-change_tag-indexes.sql' ),
187192 array( 'add_field', 'redirect', 'rd_interwiki', 'patch-rd_interwiki.sql' ),
188 - array( 'add_table', 'l10n_cache', 'patch-l10n_cache.sql' ),
189193 ),
190194 );
191195

Status & tagging log