diff options
author | Andy Schwerin <schwerin@10gen.com> | 2013-08-23 17:13:35 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2013-09-03 18:14:01 -0400 |
commit | 5fb2c2c35426d907057bccf6ffefec0493897af6 (patch) | |
tree | 3f4106feb72f3d3eb1f769a98c9b12de65dad785 /src/mongo/db/namespace_string.h | |
parent | 2f0c929ee17921cf122a3f3fb73f826841126a0c (diff) | |
download | mongo-5fb2c2c35426d907057bccf6ffefec0493897af6.tar.gz |
SERVER-9516 Logic of system.users schema upgrade process.
Includes AuthorizationManagerExternalState interface changes and implementation
in the mock, plus unit tests.
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r-- | src/mongo/db/namespace_string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h index 56ecd38daac..8658aec5eaa 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -65,6 +65,8 @@ namespace mongo { bool operator!=( const string& nsIn ) const { return nsIn != _ns; } bool operator!=( const NamespaceString& nsIn ) const { return nsIn._ns != _ns; } + bool operator<( const NamespaceString& rhs ) const { return _ns < rhs._ns; } + /** ( foo.bar ).getSisterNS( "blah" ) == foo.blah */ string getSisterNS( const StringData& local ) const; |