Follow up for issue 3196: We need an index hint for performance issues
This commit is contained in:
parent
9ccb6072b8
commit
8690b97c27
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ function profile_content(App $a, $update = 0) {
|
|||
$pager_sql = sprintf(" LIMIT %d, %d ",intval($a->pager['start']), intval($a->pager['itemspage']));
|
||||
|
||||
$r = q("SELECT `thread`.`iid` AS `item_id`, `thread`.`network` AS `item_network`
|
||||
FROM `thread`
|
||||
FROM `thread` USE INDEX (`uid_wall_created`)
|
||||
STRAIGHT_JOIN `item` ON `item`.`id` = `thread`.`iid`
|
||||
$sql_post_table
|
||||
STRAIGHT_JOIN `contact` ON `contact`.`id` = `thread`.`contact-id`
|
||||
|
|
Loading…
Reference in a new issue