[wp-trac] [WordPress Trac] #3759: Search Engine Space Bug

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 7 14:23:20 GMT 2007


#3759: Search Engine Space Bug
--------------------------+-------------------------------------------------
 Reporter:  specialkitty  |       Owner:  anonymous
     Type:  defect        |      Status:  new      
 Priority:  low           |   Milestone:  2.1.1    
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 If you search for just a space using wordpress 2.1 you get the following
 DB error:


 WordPress database error: [You have an error in your SQL syntax; check the
 manual that corresponds to your MySQL server version for the right syntax
 to use near ') AND (post_type = 'post' AND (post_status = 'publish' OR
 post_status = 'privat' at line 1]
 SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND () AND
 (post_type = 'post' AND (post_status = 'publish' OR post_status =
 'private')) ORDER BY post_date DESC LIMIT 0, 25

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


More information about the wp-trac mailing list