• unknown's avatar
    Bug #4981: 4.x and 5.x produce non-optimal execution path, · 3390eaa0
    unknown authored
            3.23 regression test failure
    
    The member SEL_ARG::min_flag was not initialized, 
    due to which the condition for no GEOM_FLAG in function 
    key_or did not choose "Range checked for each record" as 
    the correct access method.
    
    
    mysql-test/r/select.result:
      testcase for 'Range checked' access method
    mysql-test/t/select.test:
      testcase for 'Range checked' access method
    sql/opt_range.cc:
      All of the class members initialized
    3390eaa0
opt_range.cc 83.5 KB