summaryrefslogtreecommitdiff
path: root/db/lasterror.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/lasterror.h')
-rw-r--r--db/lasterror.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/db/lasterror.h b/db/lasterror.h
index 5900208..2006f1c 100644
--- a/db/lasterror.h
+++ b/db/lasterror.h
@@ -32,7 +32,6 @@ namespace mongo {
long long nObjects;
int nPrev;
bool valid;
- bool overridenById;
bool disabled;
void writeback( OID& oid ){
reset( true );
@@ -56,7 +55,6 @@ namespace mongo {
nObjects = nDeleted;
}
LastError() {
- overridenById = false;
reset();
}
void reset( bool _valid = false ) {
@@ -127,7 +125,7 @@ namespace mongo {
/** when db receives a message/request, call this */
void startRequest( Message& m , LastError * connectionOwned );
- LastError * startRequest( Message& m , int clientId = 0 );
+ LastError * startRequest( Message& m , int clientId );
void disconnect( int clientId );