| 655 | } |
| 656 | |
| 657 | bool BerkeleyBatch::StartCursor() |
| 658 | { |
| 659 | assert(!m_cursor); |
| 660 | if (!pdb) |
| 661 | return false; |
| 662 | int ret = pdb->cursor(nullptr, &m_cursor, 0); |
| 663 | return ret == 0; |
| 664 | } |
| 665 | |
| 666 | bool BerkeleyBatch::ReadAtCursor(CDataStream& ssKey, CDataStream& ssValue, bool& complete) |
| 667 | { |
no outgoing calls
no test coverage detected