• 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
group_min_max.test 45.3 KB