Make WordPress Core

Opened 5 years ago

#46576 new enhancement

short-circuit filter for dbDelta

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


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 5 years ago.

Download all attachments as: .zip

Change History (1)

5 years ago

Note: See TracTickets for help on using tickets.