[wp-trac] Re: [WordPress Trac] #3156: Uninitialized var (PHP Notice) in ternary expressions - wp-db.php

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 28 05:00:25 GMT 2006


#3156: Uninitialized var (PHP Notice) in ternary expressions - wp-db.php
-----------------------------------+----------------------------------------
 Reporter:  alexkingorg            |        Owner:  anonymous
     Type:  defect                 |       Status:  reopened 
 Priority:  normal                 |    Milestone:  2.1      
Component:  General                |      Version:  2.1      
 Severity:  normal                 |   Resolution:           
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Comment (by markjaquith):

 Lots of hits on the same queries over and over again can happen if you're
 using the WP Object Cache (I think you're using a Memcached drop-in on
 WP.com) and you're querying something that doesn't exist in the DB (like
 an option).

 See #2268

 Basically, there's no way to tell the difference between "option isn't in
 cache" and "option's non-existence has been cached."

 This may be related... dunno.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3156>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list