| 19 | |
| 20 | int nCount = 0; |
| 21 | void init() { |
| 22 | pTestDB = new CContractDB("testdb",size_t(4<<20), false , true); |
| 23 | pTestView = new CContractDBCache(*pTestDB, false); |
| 24 | //穷举数据分别位于scriptDBView pTestView, pTestDB 三级分布数据测试数据库中 |
| 25 | pscriptDBView = new CContractDBCache(*pTestView, true); |
| 26 | |
| 27 | arrKey.push_back(vKey1); |
| 28 | arrKey.push_back(vKey2); |
| 29 | arrKey.push_back(vKey3); |
| 30 | arrKey.push_back(vKey4); |
| 31 | arrKey.push_back(vKey5); |
| 32 | arrKey.push_back(vKey6); |
| 33 | } |
| 34 | |
| 35 | void closedb() { |
| 36 |
no test coverage detected