Jay,

> It is not a bug, just say it out loud....
> "AND row_id is 2 OR 5 OR 7"
>
> Once the OR condition is satisfied once, the query will halt. 

The problem is that if I use OR in the where clause, MySQL wont
use the indexes in the row_id column.

One important thing that I forgot to say is I run a SELECT with
the same where clause:

SELECT *
FROM table
WHERE client_id = 1
AND row_id IN (2,5,7)

and it returns me three rows,

thanks,
Ronan



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to