Do n memtable compactions, each of which produces an sstable covering the range [small_key,large_key].
| 455 | // Do n memtable compactions, each of which produces an sstable |
| 456 | // covering the range [small_key,large_key]. |
| 457 | void MakeTables(int n, const std::string& small_key, |
| 458 | const std::string& large_key) { |
| 459 | for (int i = 0; i < n; i++) { |
| 460 | Put(small_key, "begin"); |
| 461 | Put(large_key, "end"); |
| 462 | dbfull()->TEST_CompactMemTable(); |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | // Prevent pushing of new sstables into deeper levels by adding |
| 467 | // tables that cover a specified range to all levels. |
nothing calls this directly
no test coverage detected