Skip to content

Commit

Permalink
Fix #15678: Add new index to mantis_bug_monitor_table
Browse files Browse the repository at this point in the history
The new index is on bug_id column, and resolves a performance issue when
filtering on users monitoring issues with any other search criteria when
using match type "Any Condition".
  • Loading branch information
dregad committed Apr 5, 2013
1 parent 7659298 commit 8ff8338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/schema.php
Expand Up @@ -612,3 +612,4 @@ function installer_db_now() {
$upgrade[] = Array( 'AddColumnSQL', Array( db_get_table( 'custom_field_string' ), "
text XL NULL DEFAULT NULL " ) );
$upgrade[] = Array( 'UpdateFunction', 'update_history_long_custom_fields' );
$upgrade[] = Array( 'CreateIndexSQL', Array( 'idx_bug_id', db_get_table( 'bug_monitor' ), 'bug_id' ) );

0 comments on commit 8ff8338

Please sign in to comment.