[wp-trac] [WordPress Trac] #21663: Use PDO for MySQL queries when PDO is available
WordPress Trac
noreply at wordpress.org
Thu Feb 28 20:40:02 UTC 2013
#21663: Use PDO for MySQL queries when PDO is available
-------------------------------------------------+-------------------------
Reporter: scottconnerly | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: Future
Component: Database | Release
Severity: normal | Version: 3.5
Keywords: dev-feedback has-patch needs- | Resolution:
testing |
-------------------------------------------------+-------------------------
Changes (by nacin):
* milestone: 3.6 => Future Release
Comment:
Ryan and I discussed this ticket about a month ago in IRC and decided then
it should be punted. I am sorry this did not make it back to the ticket.
For a few reasons.
PHP 5.5 isn't out yet, and PHP 5.4 (despite being out for a year) as a
whopping 1% market penetration. Because this only results in E_DEPRECATED
(which we suppress anyway), we're at least a few months to a year out
before we even start to look bad here, and we'll work just fine for a
while. I would love to revisit this and get it done in either 3.7 or 3.8
(as in, this year). It just isn't a priority for 3.6.
Emphasis this cycle on slashing, caching, and our nascent terms roadmap
needed to take precedence, and we didn't have as much bandwidth as
expected to cover everything.
Once PHP 5.5 is out, I imagine there will be increased interest in this
ticket. That is good. Maybe at that point there can be a better consensus
on the approach, as well as a clearer picture of the impact.
Even something as simple as deciding which engine will be used if both are
available (pre-5.5) is an important decision. Our mysql engine *does
work*. We don't want a bug in the PDO engine to cause us problems on
servers and PHP versions that are just fine. Also, PDO has quite a bit of
bugs in earlier versions of PHP (5.2, 5.3) which make up the most of our
target audience. We should research said issues.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21663#comment:71>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list