Add new index to forum_index table.
function forum_update_7002() { db_drop_index('forum_index', 'forum_topics'); db_add_index('forum_index', 'forum_topics', array( 'nid', 'tid', 'sticky', 'last_comment_timestamp', )); }