• unknown's avatar
    Initialise "sorted" variable in constructor of QUICK_SELECT. The variable is... · 77a56a6a
    unknown authored
    Initialise "sorted" variable in constructor of QUICK_SELECT. The variable is set to 1 in test_if_skip_sort_order if we decide to optimize "order by" by uinsg index_read.
    
    
    mysql-test/r/ndb_index_ordered.result:
      Another test to check the use of "sorted" in combination with reset_bounds()
    mysql-test/t/ndb_index_ordered.test:
      Another test to check the use of "sorted" in combination with reset_bounds()
    sql/ha_ndbcluster.cc:
      Check that sorted is set to 0 or 1.
    sql/opt_range.cc:
      Initialise the sorted variable to zero QUICK_SELECT constructor.
    77a56a6a
ndb_index_ordered.test 3.76 KB