mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
MINOR global var cleanup
This commit is contained in:
parent
73ed0277ff
commit
fe0226cd79
@ -53,15 +53,10 @@ namespace mongo {
|
||||
|
||||
extern string bind_ip;
|
||||
extern char *appsrvPath;
|
||||
// extern int curOp;
|
||||
extern bool autoresync;
|
||||
extern int opLogging;
|
||||
extern OpLog _oplog;
|
||||
extern int lenForNewNsFiles;
|
||||
|
||||
extern int ctr;
|
||||
extern int callDepth;
|
||||
|
||||
extern int lockFile;
|
||||
|
||||
void setupSignals();
|
||||
|
@ -501,8 +501,6 @@ namespace mongo {
|
||||
}
|
||||
}
|
||||
|
||||
extern int callDepth;
|
||||
|
||||
class JniMessagingPort : public AbstractMessagingPort {
|
||||
public:
|
||||
JniMessagingPort(Message& _container) : container(_container) { }
|
||||
|
@ -48,7 +48,6 @@ namespace mongo {
|
||||
map<string,Database*> databases;
|
||||
int MAGIC = 0x1000;
|
||||
// int curOp = -2;
|
||||
int callDepth = 0;
|
||||
|
||||
extern int otherTraceLevel;
|
||||
void addNewNamespaceToCatalog(const char *ns, const BSONObj *options = 0);
|
||||
@ -69,7 +68,6 @@ namespace mongo {
|
||||
ss << cc().ns() << ' ';
|
||||
}
|
||||
}
|
||||
ss << callDepth;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user