diff options
author | unknown <joreland@mysql.com> | 2004-10-08 16:42:51 +0200 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-10-08 16:42:51 +0200 |
commit | 950c68259350412c81c59dfc2843d4f00cfa0ea5 (patch) | |
tree | 9f2bc2ae3091f2ed8a1f9dcb600ebabb266a1da4 /ndb/test/ndbapi/testOperations.cpp | |
parent | b5c406a1f7948721edad8733e3f7fc99f659d54a (diff) | |
download | mariadb-git-950c68259350412c81c59dfc2843d4f00cfa0ea5.tar.gz |
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)
Diffstat (limited to 'ndb/test/ndbapi/testOperations.cpp')
-rw-r--r-- | ndb/test/ndbapi/testOperations.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ndb/test/ndbapi/testOperations.cpp b/ndb/test/ndbapi/testOperations.cpp index 9f35ad757ff..f31906dd737 100644 --- a/ndb/test/ndbapi/testOperations.cpp +++ b/ndb/test/ndbapi/testOperations.cpp @@ -110,13 +110,13 @@ runOp(HugoOperations & hugoOps, return NDBT_FAILED; }} if(strcmp(op, "READ") == 0){ - C2(hugoOps.pkReadRecord(pNdb, 1, false, 1), 0); + C2(hugoOps.pkReadRecord(pNdb, 1, 1, NdbOperation::LM_Read), 0); } else if(strcmp(op, "READ-EX") == 0){ - C2(hugoOps.pkReadRecord(pNdb, 1, true, 1), 0); + C2(hugoOps.pkReadRecord(pNdb, 1, 1, NdbOperation::LM_Exclusive), 0); } else if(strcmp(op, "S-READ") == 0){ - C2(hugoOps.pkSimpleReadRecord(pNdb, 1, 1), 0); + C2(hugoOps.pkReadRecord(pNdb, 1, 1, NdbOperation::LM_Read), 0); } else if(strcmp(op, "D-READ") == 0){ - C2(hugoOps.pkDirtyReadRecord(pNdb, 1, 1), 0); + C2(hugoOps.pkReadRecord(pNdb, 1, 1, NdbOperation::LM_CommittedRead), 0); } else if(strcmp(op, "INSERT") == 0){ C2(hugoOps.pkInsertRecord(pNdb, 1, 1, value), 0); } else if(strcmp(op, "UPDATE") == 0){ |