mirror of
https://github.com/MariaDB/server.git
synced 2025-11-25 17:25:02 +03:00
wl2240 - ndb - new testcase for validating startTransation with hint
ndb/include/ndbapi/NdbDictionary.hpp: NdbDictionaryColumn::getSizeInBytes ndb/include/ndbapi/NdbOperation.hpp: NdbOperation::getTable ndb/include/ndbapi/NdbTransaction.hpp: Make getConnectionNodeId public (for test programs) ndb/include/util/Base64.hpp: base64(void*) ndb/src/common/util/Base64.cpp: base64(void*) ndb/src/kernel/blocks/ERROR_codes.txt: New error code for REF'ing non-local TCKEYREQ ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Easy clearing of ERROR_INSERT ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: New error code for REF'ing non-local TCKEYREQ ndb/src/ndbapi/NdbDictionary.cpp: NdbDictionaryColumn::getSizeInBytes ndb/src/ndbapi/NdbDictionaryImpl.cpp: If m_noIfDistKyes == 0, then each PK is dist key ndb/src/ndbapi/NdbOperation.cpp: NdbOperation::getTable ndb/src/ndbapi/NdbOperationSearch.cpp: remove d-key handling for pk ops ndb/test/include/HugoCalculator.hpp: remove unimpletemented methods ndb/test/include/HugoOperations.hpp: 1) HugoOperation::setTransaction 2) Type independant value handling 3) Some more util methods ndb/test/ndbapi/testPartitioning.cpp: new testcase for validating startTransation with hint ndb/test/run-test/atrt-mysql-test-run: fix checks of return values ndb/test/src/HugoCalculator.cpp: Better generation of values -- depends on fact that srand(K), rand() == srand(K), rand() Generate string with base64 ndb/test/src/HugoOperations.cpp: 1) HugoOperation::setTransaction 2) Type independant value handling 3) Some more util methods
This commit is contained in:
@@ -29,8 +29,9 @@ public:
|
||||
|
||||
~HugoOperations();
|
||||
int startTransaction(Ndb*);
|
||||
int setTransaction(NdbTransaction*);
|
||||
int closeTransaction(Ndb*);
|
||||
NdbConnection* getTransaction();
|
||||
NdbTransaction* getTransaction();
|
||||
void refresh();
|
||||
|
||||
int pkInsertRecord(Ndb*,
|
||||
@@ -68,10 +69,13 @@ public:
|
||||
int attrId,
|
||||
int rowId,
|
||||
int updateId);
|
||||
|
||||
int equalForAttr(NdbOperation*,
|
||||
int attrId,
|
||||
int rowId);
|
||||
|
||||
|
||||
int setValues(NdbOperation*, int rowId, int updateId);
|
||||
|
||||
int verifyUpdatesValue(int updatesValue, int _numRows = 0);
|
||||
|
||||
int indexReadRecords(Ndb*, const char * idxName, int recordNo,
|
||||
|
||||
Reference in New Issue
Block a user