From 1eaf52d2eb33a2aea0bb5856e2fa2371899d4b4a Mon Sep 17 00:00:00 2001
From: Jason Volk <jason@zemos.net>
Date: Mon, 4 May 2020 20:59:40 -0700
Subject: [PATCH] ircd::db: Reflect ColumnFamilyDropped (6.3.6).

---
 ircd/db.cc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ircd/db.cc b/ircd/db.cc
index de5eab82e..f15e6974d 100644
--- a/ircd/db.cc
+++ b/ircd/db.cc
@@ -8663,6 +8663,13 @@ ircd::db::reflect(const rocksdb::Status::Code &s)
 		case Code::kExpired:               return "Expired";
 		case Code::kTryAgain:              return "TryAgain";
 		case Code::kCompactionTooLarge:    return "CompactionTooLarge";
+
+		#if ROCKSDB_MAJOR > 6 \
+		|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 3) \
+		|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 3 && ROCKSDB_PATCH >= 6)
+		case Code::kColumnFamilyDropped:   return "ColumnFamilyDropped";
+		case Code::kMaxCode:               break;
+		#endif
 	}
 
 	return "?????";