WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#14503 closed defect (bug) (fixed)

dbDelta rebuilds global table list for each database table processed

Reported by: wpmuguru Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch commit
Focuses: Cc:

Description

It should get the global table list before entering the table loop. Patch is attached

Attachments (1)

14503.diff (869 bytes) - added by wpmuguru 9 years ago.

Download all attachments as: .zip

Change History (5)

@wpmuguru
9 years ago

#1 @nacin
9 years ago

  • Keywords 3.2-early commit added
  • Milestone changed from Awaiting Review to Future Release

#2 @wpmuguru
8 years ago

Can we get this one into 3.2? On a large network this would represent a fair amount of resources on an upgrade.

#3 @SergeyBiryukov
8 years ago

  • Keywords 3.2-early removed
  • Milestone changed from Future Release to 3.3

#4 @nacin
8 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [18522]:

Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.

Note: See TracTickets for help on using tickets.