mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Test prg update
- make test node restart test harder ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Removed debug printout ndb/test/include/HugoOperations.hpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/include/HugoTransactions.hpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testBasic.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testNdbApi.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testNodeRestart.cpp: Use mixed pkread Use rand() no of records Use rand() batch size Restart node abort (instead of graceful) ndb/test/ndbapi/testOperations.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/ndbapi/testTransactions.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/run-test/daily-devel-tests.txt: Run mixed pkread tests instead of just LM_Read (readTuple()) ndb/test/src/HugoOperations.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode) ndb/test/src/HugoTransactions.cpp: Remove multipl pkRead (simple/dirty)... and replace with pkRead(LockMode)
This commit is contained in:
@ -38,16 +38,8 @@ public:
|
||||
|
||||
int pkReadRecord(Ndb*,
|
||||
int recordNo,
|
||||
bool exclusive = false,
|
||||
int numRecords = 1);
|
||||
|
||||
int pkSimpleReadRecord(Ndb*,
|
||||
int recordNo,
|
||||
int numRecords = 1);
|
||||
|
||||
int pkDirtyReadRecord(Ndb*,
|
||||
int recordNo,
|
||||
int numRecords = 1);
|
||||
int numRecords = 1,
|
||||
NdbOperation::LockMode lm = NdbOperation::LM_Read);
|
||||
|
||||
int pkUpdateRecord(Ndb*,
|
||||
int recordNo,
|
||||
|
Reference in New Issue
Block a user