r80311 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80310‎ | r80311 | r80312 >
Date:20:20, 14 January 2011
Author:catrope
Status:ok
Tags:license-work 
Comment:
Fix r80290: change field name in index too
Modified paths:
  • /branches/license-work/phase3/maintenance/archives/patch-file_props.sql (modified) (history)
  • /branches/license-work/phase3/maintenance/sqlite/archives/patch-file_props.sql (modified) (history)
  • /branches/license-work/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: branches/license-work/phase3/maintenance/archives/patch-file_props.sql
@@ -4,6 +4,6 @@
55 fp_value_int int signed,
66 fp_value_text varbinary(255)
77 ) /*$wgDBTableOptions*/;
8 -CREATE INDEX /*i*/fp_id_key ON /*_*/file_props (fp_id, fp_key);
 8+CREATE INDEX /*i*/fp_rev_id_key ON /*_*/file_props (fp_rev_id, fp_key);
99 CREATE INDEX /*i*/fp_key_value_int ON /*_*/file_props (fp_key, fp_value_int);
1010 CREATE INDEX /*i*/fp_key_value_text ON /*_*/file_props (fp_key, fp_value_text);
Index: branches/license-work/phase3/maintenance/sqlite/archives/patch-file_props.sql
@@ -4,6 +4,6 @@
55 fp_value_int int signed,
66 fp_value_text varbinary(255)
77 ) /*$wgDBTableOptions*/;
8 -CREATE INDEX /*i*/fp_id_key ON /*_*/file_props (fp_id, fp_key);
 8+CREATE INDEX /*i*/fp_rev_id_key ON /*_*/file_props (fp_rev_id, fp_key);
99 CREATE INDEX /*i*/fp_key_value_int ON /*_*/file_props (fp_key, fp_value_int);
1010 CREATE INDEX /*i*/fp_key_value_text ON /*_*/file_props (fp_key, fp_value_text);
Index: branches/license-work/phase3/maintenance/tables.sql
@@ -1459,7 +1459,7 @@
14601460 -- Textual property value, if present
14611461 fp_value_text varbinary(255)
14621462 ) /*$wgDBTableOptions*/;
1463 -CREATE INDEX /*i*/fp_id_key ON /*_*/file_props (fp_id, fp_key);
 1463+CREATE INDEX /*i*/fp_rev_id_key ON /*_*/file_props (fp_rev_id, fp_key);
14641464 CREATE INDEX /*i*/fp_key_value_int ON /*_*/file_props (fp_key, fp_value_int);
14651465 CREATE INDEX /*i*/fp_key_value_text ON /*_*/file_props (fp_key, fp_value_text);
14661466

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r80290license-work: After discussion with Krinkle and Bryan, remove rev_fileprops_i...catrope18:42, 14 January 2011

Status & tagging log