[wp-trac] [WordPress Trac] #23948: Random for WP_Query

WordPress Trac noreply at wordpress.org
Fri Apr 5 13:02:32 UTC 2013


#23948: Random for WP_Query
-------------------------------+------------------------------
 Reporter:  Looimaster         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  3.5.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback


Comment:

 My only guess to the cause of this is that MYSQL is caching the results in
 the query cache even though the query contains `RAND()`. I've never heard
 of this happening though.

 Could you provide the following please:

  * The exact `WP_Query` query you're using, and the resulting SQL.
  * MySQL version and OS for the affected servers.
  * Details of the [http://dev.mysql.com/doc/refman/4.1/en/query-cache-
 configuration.html MySQL query cache] on the affected servers, if any.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23948#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list