r33943 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33942‎ | r33943 | r33944 >
Date:18:14, 27 April 2008
Author:yaron
Status:old
Tags:
Comment:
Changed 'CREATE INDEX' to 'ALTER TABLE ... ADD INDEX'
Modified paths:
  • /trunk/extensions/SemanticDrilldown/includes/SD_Filter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/includes/SD_Filter.php
@@ -104,7 +104,7 @@
105105 FROM $table_name
106106 WHERE $property_field = '$query_property'";
107107 $dbr->query($sql);
108 - $sql = "CREATE INDEX sdfv_subject_id_index ON semantic_drilldown_filter_values (subject_id)";
 108+ $sql = "ALTER TABLE semantic_drilldown_filter_values ADD INDEX sdfv_subject_id_index (subject_id)";
109109 $dbr->query($sql);
110110 }
111111

Status & tagging log