diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2018-11-24 16:56:20 +0000 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2018-12-22 04:27:20 +0000 |
commit | fc5bc0947ceedee3b61b2d922cabd3e5df7ec07c (patch) | |
tree | 75749d0e4ff2d9db2001252018cc91e78801bc44 /src/mongo/util/uuid.cpp | |
parent | bdac7ced24f9ad8f9afac9c57e7184b1f2bf61b2 (diff) | |
download | mongo-fc5bc0947ceedee3b61b2d922cabd3e5df7ec07c.tar.gz |
SERVER-38408 Return postBatchResumeToken with each mongoD change stream batch
Diffstat (limited to 'src/mongo/util/uuid.cpp')
-rw-r--r-- | src/mongo/util/uuid.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/util/uuid.cpp b/src/mongo/util/uuid.cpp index 4f243c99401..290134dc88c 100644 --- a/src/mongo/util/uuid.cpp +++ b/src/mongo/util/uuid.cpp @@ -89,6 +89,10 @@ UUID UUID::parse(const BSONObj& obj) { return res.getValue(); } +UUID UUID::nil() { + return UUID{}; +} + bool UUID::isUUIDString(const std::string& s) { return std::regex_match(s, uuidRegex); } |