mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed bugs in ordered scan discovered by mysql-test-run
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
This commit is contained in:
@ -125,6 +125,7 @@ private:
|
||||
virtual ~NdbIndexScanOperation();
|
||||
|
||||
int setBound(const NdbColumnImpl*, int type, const void* aValue, Uint32 len);
|
||||
int saveBoundATTRINFO();
|
||||
|
||||
virtual int equal_impl(const NdbColumnImpl*, const char*, Uint32);
|
||||
virtual NdbRecAttr* getValue_impl(const NdbColumnImpl*, char*);
|
||||
|
Reference in New Issue
Block a user