summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorYoonsoo Kim <yoonsoo.kim@mongodb.com>2021-08-04 02:00:00 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-04 02:59:35 +0000
commitd356d2ed92812367bb2f61495f2ec064cad5a021 (patch)
treea21a7433c2ba9c641ae7991b8d518fe6c83ffb91 /src/mongo/dbtests
parentbd221c2a5bfd2014bf1df08bb5497a5ee24650e2 (diff)
downloadmongo-d356d2ed92812367bb2f61495f2ec064cad5a021.tar.gz
SERVER-58735 Repurpose LastError for NotPrimaryError tracker
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/directclienttests.cpp1
-rw-r--r--src/mongo/dbtests/querytests.cpp1
-rw-r--r--src/mongo/dbtests/updatetests.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/dbtests/directclienttests.cpp b/src/mongo/dbtests/directclienttests.cpp
index 3c9b421ecfa..65543d80069 100644
--- a/src/mongo/dbtests/directclienttests.cpp
+++ b/src/mongo/dbtests/directclienttests.cpp
@@ -34,7 +34,6 @@
#include "mongo/db/client.h"
#include "mongo/db/dbdirectclient.h"
#include "mongo/db/json.h"
-#include "mongo/db/lasterror.h"
#include "mongo/dbtests/dbtests.h"
#include "mongo/rpc/get_status_from_command_result.h"
#include "mongo/util/timer.h"
diff --git a/src/mongo/dbtests/querytests.cpp b/src/mongo/dbtests/querytests.cpp
index 75278418410..a35ad787320 100644
--- a/src/mongo/dbtests/querytests.cpp
+++ b/src/mongo/dbtests/querytests.cpp
@@ -44,7 +44,6 @@
#include "mongo/db/exec/queued_data_stage.h"
#include "mongo/db/index/index_descriptor.h"
#include "mongo/db/json.h"
-#include "mongo/db/lasterror.h"
#include "mongo/db/logical_time.h"
#include "mongo/db/namespace_string.h"
#include "mongo/db/query/find.h"
diff --git a/src/mongo/dbtests/updatetests.cpp b/src/mongo/dbtests/updatetests.cpp
index f29ccdb9699..63ee44d438f 100644
--- a/src/mongo/dbtests/updatetests.cpp
+++ b/src/mongo/dbtests/updatetests.cpp
@@ -41,7 +41,6 @@
#include "mongo/db/client.h"
#include "mongo/db/dbdirectclient.h"
#include "mongo/db/json.h"
-#include "mongo/db/lasterror.h"
#include "mongo/db/ops/update.h"
#include "mongo/dbtests/dbtests.h"
#include "mongo/idl/server_parameter_test_util.h"