Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#36242 new enhancement

wpdb set_sql_mode add param

Reported by: spacedmonkey's profile spacedmonkey Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Database Keywords:
Focuses: performance Cc:

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

Download all attachments as: .zip

Change History (1)

@spacedmonkey
9 years ago

Note: See TracTickets for help on using tickets.