Make WordPress Core

Opened 8 years ago

#46576 new enhancement

short-circuit filter for dbDelta

Reported by: m_uysl Owned by:
Priority: normal Milestone: Awaiting Review
Component: Database Version:
Severity: normal Keywords:
Cc: Focuses:

Description

dbDelta function can cause strange things on the large-scale WordPress installations. When you have large amounts of data, you don't really want to schema changes apply directly on the production. (at least we don't do that)

So, I recommend adding new short-circuit filter to avoid that.

(I know, returning an empty array with dbdelta_queries might be a workaround but not ideal for this job.)

Attachments (1)

46576.patch​ (1.1 KB ) - added by m_uysl 8 years ago.

Download all attachments as: .zip

Change History (1)

@m_uysl
8 years ago

Note: See TracTickets for help on using tickets.