• unknown's avatar
    Fixed bugs in ordered scan discovered by mysql-test-run · 3f3ea303
    unknown authored
    Enabled ordered scan in handler
    
    
    
    ndb/include/ndbapi/NdbIndexScanOperation.hpp:
      Moved saveBound to NdbIndexScanOperation
    ndb/include/ndbapi/NdbScanOperation.hpp:
      Moved saveBound to NdbIndexScanOperation
    ndb/src/ndbapi/NdbDictionaryImpl.cpp:
      Introduced map for
      index attributes (keys) -> real attr id (and back)
    ndb/src/ndbapi/NdbDictionaryImpl.hpp:
      Introduced map for
      index attributes (keys) -> real attr id (and back)
    ndb/src/ndbapi/NdbOperationDefine.cpp:
      Moved saveBound to NdbIndexScanOperation
    ndb/src/ndbapi/NdbOperationInt.cpp:
      Moved saveBound to NdbIndexScanOperation
    ndb/src/ndbapi/NdbScanOperation.cpp:
      Moved saveBound to NdbIndexScanOperation
      Fixed bugs in handling of setBounds w.r.t getValues and index keys
        (use new reverse map)
      Fixed bugs in next_result_ordered
    sql/ha_ndbcluster.cc:
      Use sorted scan when requested
    3f3ea303
NdbScanOperation.cpp 37.8 KB