summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/key_string_test.cpp
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2018-07-10 15:48:30 +0100
committerBernard Gorman <bernard.gorman@gmail.com>2018-08-09 23:02:51 +0100
commitfa8f737443dbcd604071baee6e7daa148d92ce68 (patch)
tree364914a4fac03b464bc3cca272c7b6914553892e /src/mongo/db/storage/key_string_test.cpp
parent55ff5175dfde9be093f69e792bac8408639c4653 (diff)
downloadmongo-fa8f737443dbcd604071baee6e7daa148d92ce68.tar.gz
SERVER-35860 Maintain multikey metadata keys for allPaths indexes
Diffstat (limited to 'src/mongo/db/storage/key_string_test.cpp')
-rw-r--r--src/mongo/db/storage/key_string_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/key_string_test.cpp b/src/mongo/db/storage/key_string_test.cpp
index 0d87d0dfea4..9e500879ba5 100644
--- a/src/mongo/db/storage/key_string_test.cpp
+++ b/src/mongo/db/storage/key_string_test.cpp
@@ -1123,7 +1123,7 @@ TEST_F(KeyStringTest, RecordIds) {
ASSERT(reader.atEof());
}
- if (rid.isNormal()) {
+ if (rid.isValid()) {
ASSERT_GT(ks, KeyString(version, RecordId()));
ASSERT_GT(ks, KeyString(version, RecordId::min()));
ASSERT_LT(ks, KeyString(version, RecordId::max()));