Set some useful defaults desired for all reads.
| 314 | |
| 315 | // Set some useful defaults desired for all reads. |
| 316 | rocksdb::ReadOptions getReadOptions() { |
| 317 | rocksdb::ReadOptions options; |
| 318 | options.background_purge_on_iterator_cleanup = true; |
| 319 | return options; |
| 320 | } |
| 321 | |
| 322 | struct ReadIterator { |
| 323 | rocksdb::ColumnFamilyHandle* cf; |
no outgoing calls
no test coverage detected