Fixed a major bug in InnoDB query optimisation: queries of type
SELECT ... WHERE indexcolumn < x and SELECT ... WHERE
indexcolumn > x could cause a table scan even if the selectivity
would have been very good.
Fixed a potential bug if MySQL calls store_lock with TL_IGNORE
in the middle of a query.