Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/12/2017 08:46:10 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Queries: Use no_found_rows where relevant.

This prevents SQL_CALC_FOUND_ROWS usages in places where it is not used.

Fixes #2972.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/functions.php

    r6191 r6219  
    32743274        'posts_per_page'   => -1,
    32753275        'nopaging'         => true,
     3276        'no_found_rows'    => true,
    32763277        'fields'           => 'id=>parent'
    32773278    ) );
     
    37113712        'posts_per_page'   => -1,
    37123713        'nopaging'         => true,
     3714        'no_found_rows'    => true,
    37133715        'fields'           => 'id=>parent'
    37143716    ) );
     
    37723774        'posts_per_page'   => -1,
    37733775        'nopaging'         => true,
     3776        'no_found_rows'    => true,
    37743777        'fields'           => 'id=>parent'
    37753778    ) );
Note: See TracChangeset for help on using the changeset viewer.