mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
testTransaction -n FRead*
testTransaction -n *Scan* testTimeout -n * ndb/include/kernel/signaldata/DumpStateOrd.hpp: Added DUMP for tc appl timeout ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Send tckey conf if m_exec_flags is set Added dump for appl timeout ndb/test/include/HugoOperations.hpp: Add scanRead ndb/test/ndbapi/testTimeout.cpp: Reenable ndb/test/ndbapi/testTransactions.cpp: Fix scan test cases ndb/test/run-test/daily-basic-tests.txt: reenable timeout-tests added testTransaction -n Scan* testcases ndb/test/src/HugoOperations.cpp: Fix scan ndb/test/src/NDBT_Test.cpp: Drop table before test...(if createTable==true)
This commit is contained in:
@ -58,9 +58,6 @@ public:
|
||||
int recordNo,
|
||||
int numRecords = 1);
|
||||
|
||||
NdbResultSet* scanReadRecords(Ndb* pNdb, ScanLock lock = SL_Read);
|
||||
int readTuples(NdbResultSet*);
|
||||
|
||||
int execute_Commit(Ndb*,
|
||||
AbortOption ao = AbortOnError);
|
||||
int execute_NoCommit(Ndb*,
|
||||
@ -92,7 +89,11 @@ public:
|
||||
int recordNo,
|
||||
int numRecords = 1,
|
||||
int updatesValue = 0);
|
||||
|
||||
|
||||
int scanReadRecords(Ndb*, NdbScanOperation::LockMode =
|
||||
NdbScanOperation::LM_CommittedRead,
|
||||
int numRecords = 1);
|
||||
|
||||
protected:
|
||||
void allocRows(int rows);
|
||||
void deallocRows();
|
||||
@ -101,6 +102,10 @@ protected:
|
||||
HugoCalculator calc;
|
||||
|
||||
Vector<BaseString> savedRecords;
|
||||
|
||||
struct RsPair { NdbResultSet* m_result_set; int records; };
|
||||
Vector<RsPair> m_result_sets;
|
||||
Vector<RsPair> m_executed_result_sets;
|
||||
private:
|
||||
NdbConnection* pTrans;
|
||||
};
|
||||
|
Reference in New Issue
Block a user