I just ran a MySQL query trace to debug a some queries I have created, when I discovered the following query:
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = 'jquery_bll-php' AND wp_posts.post_type = 'post' ORDER BY wp_posts.post_date DESC
1. why "wp_posts.* FROM wp_posts WHERE 1=1" ???
2. I have a file called jquery_bll.php. This is my Busines layer for jQuery requests. Why is this file name in the query?