mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 00:54:30 +02: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:
parent
8aac8515fb
commit
3f3ea3037a
8 changed files with 98 additions and 58 deletions
|
|
@ -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*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue