Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#14503 closed defect (bug) (fixed)

dbDelta rebuilds global table list for each database table processed

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


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

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

14 years ago

#1 @nacin
13 years ago

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

#2 @wpmuguru
13 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
13 years ago

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

#4 @nacin
13 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.