• gkodinov/kgeorge@macbook.gmz's avatar
    Bug#24156: Loose index scan not used with CREATE TABLE ...SELECT and similar · a6574ac6
    gkodinov/kgeorge@macbook.gmz authored
               statements
    Currently the optimizer evaluates loose index scan only for top-level SELECT
    statements
    Extend loose index scan applicability by :
     - Test the applicability of loose scan for each sub-select, instead of the
       whole query. This change enables loose index scan for sub-queries.
     - allow non-select statements with SELECT parts (like, e.g. 
       CREATE TABLE .. SELECT ...) to use loose index scan.
    a6574ac6
opt_range.cc 292 KB