]> git.sesse.net Git - plocate/blobdiff - db.h
Release plocate 1.1.22.
[plocate] / db.h
diff --git a/db.h b/db.h
index 722e567076eb36551e03c56eb02db2682c834292..28bf84d9df60a6a003618931854e9b6fc36c3b5d 100644 (file)
--- a/db.h
+++ b/db.h
@@ -5,7 +5,7 @@
 
 struct Header {
        char magic[8];  // "\0plocate";
-       uint32_t version;  // 1.
+       uint32_t version;  // 2 is the current version.
        uint32_t hashtable_size;
        uint32_t extra_ht_slots;
        uint32_t num_docids;
@@ -26,7 +26,7 @@ struct Header {
        uint64_t conf_block_offset_bytes;
 
        // Only if max_version >= 2.
-       bool require_visibility;
+       bool check_visibility;
 };
 
 struct Trigram {