| 96 | |
| 97 | private: |
| 98 | bool Seek(MDB_cursor_op op) { |
| 99 | CHECK_NOTNULL(mdb_cursor_); |
| 100 | int mdb_status = mdb_cursor_get(mdb_cursor_, &mdb_key_, &mdb_value_, op); |
| 101 | if (mdb_status == MDB_NOTFOUND) { |
| 102 | return false; |
| 103 | } else { |
| 104 | MDB_CHECK(mdb_status); |
| 105 | return true; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | MDB_env* mdb_env_; |
| 110 | MDB_dbi mdb_dbi_; |
no outgoing calls