Hi there,
I have the following query:
SELECT link_id FROM links WHERE link_code = 230685 AND link_source_id = 12 LIMIT 0 , 1
and a multi index on link_code and link_source_id:
ALTER TABLE links ADD INDEX test (link_code, link_source_id);
however, if i run it through EXPLAIN it is ignoring the index and doing a whole table scan? am i missing something?
Thanks,
Jonathan.