[wp-trac] Re: [WordPress Trac] #5503: WP-DB Never do a "SET NAMES"
Query
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 22 05:54:26 GMT 2007
#5503: WP-DB Never do a "SET NAMES" Query
-------------------------+--------------------------------------------------
Reporter: g30rg3x | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.4
Component: General | Version: 2.3
Severity: critical | Resolution:
Keywords: needs-patch |
-------------------------+--------------------------------------------------
Comment (by g30rg3x):
Well you are misunderstanding the problem (i think)...
First Answering you...
1) Yes, 5.0.27
2) Yes, utf8
Second explaining a little further, when the database construct the object
before it select the database the system uses a SET NAMES query, since the
changeset 6458 the database object only executes querys if the constructor
has been successfully builded...
And since by the time the constructor launches the SET NAMES query the
constructor has not finished "building", the var ready its not set to true
(by default $ready is set to false) the query method drops the execution
and return false...
I hope this help you understanding the problem...
--
Ticket URL: <http://trac.wordpress.org/ticket/5503#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list