Opened 17 years ago
Closed 17 years ago
#12557 closed defect (bug) (fixed)
get_boundary_post() causes slow SQL_CALC_FOUND_ROWS query.
| Reported by: | ryan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Performance | Version: | 2.9.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
get_boundary_post() should pass no_paging to get_posts() so that it doesn't trigger a pointless and slow SQL_CALC_FOUND_ROWS query.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
nopaging turns off limits entirely. WP_Query::get_posts() needs some rework to allow limiting the number of posts without turning on found rows.