From 15c3991933391023cb4a0545c86998a002a59fc5 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 5 May 2014 12:57:47 -0700 Subject: [PATCH] Add comment about ValueType --- db/dbformat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/dbformat.h b/db/dbformat.h index 1c86b127a..1647661b8 100644 --- a/db/dbformat.h +++ b/db/dbformat.h @@ -32,6 +32,8 @@ enum ValueType : unsigned char { kTypeDeletion = 0x0, kTypeValue = 0x1, kTypeMerge = 0x2, + // Following types are used only in write ahead logs. They are not used in + // memtables or sst files: kTypeLogData = 0x3, kTypeColumnFamilyDeletion = 0x4, kTypeColumnFamilyValue = 0x5,