WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#36242 new enhancement

wpdb set_sql_mode add param

Reported by: spacedmonkey Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Database Keywords:
Focuses: performance Cc:
PR Number:

Description

When making a creating a db drop-in that supports multiple databases, I had to override the whole set_sql_mode method. If set_sql_mode accepted a $dbh param, the method could easily be reused.

Attachments (1)

36242.patch (1.5 KB) - added by spacedmonkey 4 years ago.

Download all attachments as: .zip

Change History (1)

@spacedmonkey
4 years ago

Note: See TracTickets for help on using tickets.