List:Internals« Previous MessageNext Message »
From:Sunny Bains Date:December 21 2006 10:58am
Subject:Denying access to a secondary index
View as plain text  
Hi,

Is it possible to "cleanly" inform MySQL from the engine that an index should
not be used for particular queries ? Currently in handler::index_init() I set
the index to the PRIMARY index, if I don't want a particular transaction to
use a index. While this seems to work, I'm looking/hoping for a better and
cleaner approach.

Regards,
-sunny
Thread
Denying access to a secondary indexSunny Bains21 Dec
  • Re: Denying access to a secondary indexSergei Golubchik21 Dec
    • Re: Denying access to a secondary indexSunny Bains21 Dec
    • Re: Denying access to a secondary indexSunny Bains22 Dec
      • Re: Denying access to a secondary indexSunny Bains23 Dec