Re: [Maria-developers] proposed patch for handler APIs for range query information

2012-05-02 Thread Zardosht Kasheff
Hello Sergei, I think both points make sense. We implemented prepare_range_scan because it was easier and less risky. Both work for us. We would just need to know the first release of MariaDB that has these changes so that we can adjust our handlerton accordingly. Thanks -Zardosht On Wed, May 2,

Re: [Maria-developers] proposed patch for handler APIs for range query information

2012-05-02 Thread Sergei Golubchik
Hi, Zardosht! 1. I think prepare_index_scan() is just a special case of prepare_index_key_scan() (key length is 0). That is, there no need to have to methods, and one is enough. But it's a minor thing. 2. A larger one - I don't agree with the prepare_range_scan() change. Because it's just a worka