| 113 | } |
| 114 | |
| 115 | static bool BeforeFile(const Comparator* ucmp, const Slice* user_key, |
| 116 | const FileMetaData* f) { |
| 117 | // null user_key occurs after all keys and is therefore never before *f |
| 118 | return (user_key != nullptr && |
| 119 | ucmp->Compare(*user_key, f->smallest.user_key()) < 0); |
| 120 | } |
| 121 | |
| 122 | bool SomeFileOverlapsRange(const InternalKeyComparator& icmp, |
| 123 | bool disjoint_sorted_files, |
no test coverage detected