summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsontypes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsontypes.cpp')
-rw-r--r--src/mongo/bson/bsontypes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/bson/bsontypes.cpp b/src/mongo/bson/bsontypes.cpp
index 8be3c5e1d04..1f9112f2dc4 100644
--- a/src/mongo/bson/bsontypes.cpp
+++ b/src/mongo/bson/bsontypes.cpp
@@ -199,6 +199,8 @@ const char* typeName(BinDataType type) {
return "encrypt";
case Column:
return "column";
+ case Sensitive:
+ return "sensitive";
case bdtCustom:
return "Custom";
default:
@@ -217,6 +219,7 @@ bool isValidBinDataType(int type) {
case Encrypt:
case Column:
case bdtCustom:
+ case Sensitive:
return true;
default:
return false;