[wp-trac] Re: [WordPress Trac] #2233: wpdb constructor should
create a new connection
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 27 02:31:44 GMT 2006
#2233: wpdb constructor should create a new connection
----------------------------+-----------------------------------------------
Id: 2233 | Status: new
Component: Administration | Modified: Thu Apr 27 02:31:43 2006
Severity: enhancement | Milestone: 2.1
Priority: normal | Version: 2.0
Owner: anonymous | Reporter: thomasq
----------------------------+-----------------------------------------------
Comment (by masquerade):
While partially correct, creating a new object will not do exactly what
you think. Both instances of wpdb will use the same database link either
way, because $this->dbh is not used in the calls to mysql_*, so either
way, both are needed, thomasq's patch is insufficient.
--
Ticket URL: <http://trac.wordpress.org/ticket/2233>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list