diff options
author | Irina Yatsenko <irina.yatsenko@mongodb.com> | 2021-06-28 18:53:31 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-08 21:55:02 +0000 |
commit | c0217c62b43b30159bc60601c3af833cb7a8f82e (patch) | |
tree | ac69490471400dfa30a25a26addd7a9e3d977bf4 /src/mongo/db/audit.cpp | |
parent | e19d6e4d9ce4405fa71542d2e34eb261e86de4a5 (diff) | |
download | mongo-c0217c62b43b30159bc60601c3af833cb7a8f82e.tar.gz |
SERVER-57457 Close connection on receiving of OP_DELETE, OP_INSERT, OP_UPDATE and OP_KILL_CURSORS
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r-- | src/mongo/db/audit.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp index 3007d1494c2..8b0867289d3 100644 --- a/src/mongo/db/audit.cpp +++ b/src/mongo/db/audit.cpp @@ -54,13 +54,6 @@ void logCommandAuthzCheck(Client* client, invariant(client); } -void logDeleteAuthzCheck(Client* client, - const NamespaceString& ns, - const BSONObj& pattern, - ErrorCodes::Error result) { - invariant(client); -} - void logGetMoreAuthzCheck(Client* client, const NamespaceString& ns, long long cursorId, @@ -68,13 +61,6 @@ void logGetMoreAuthzCheck(Client* client, invariant(client); } -void logInsertAuthzCheck(Client* client, - const NamespaceString& ns, - const BSONObj& insertedObj, - ErrorCodes::Error result) { - invariant(client); -} - void logKillCursorsAuthzCheck(Client* client, const NamespaceString& ns, long long cursorId, @@ -89,16 +75,6 @@ void logQueryAuthzCheck(Client* client, invariant(client); } -void logUpdateAuthzCheck(Client* client, - const NamespaceString& ns, - const BSONObj& query, - const write_ops::UpdateModification& update, - bool isUpsert, - bool isMulti, - ErrorCodes::Error result) { - invariant(client); -} - void logCreateUser(Client* client, const UserName& username, bool password, |