summaryrefslogtreecommitdiff
path: root/src/mongo/db/introspect.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-04-28 20:55:18 -0400
committerMathias Stearn <mathias@10gen.com>2014-04-29 09:14:59 -0400
commitde5ea8fd8682d086de86636d9fff80720939790e (patch)
treebc1ad8171f539a97333df978fbae16aa53a490f9 /src/mongo/db/introspect.h
parenta16b3afd4f6760a8818da0888ebd330e92d381a2 (diff)
downloadmongo-de5ea8fd8682d086de86636d9fff80720939790e.tar.gz
SERVER-13643 Move Txn pluming above Database and Collection
Diffstat (limited to 'src/mongo/db/introspect.h')
-rw-r--r--src/mongo/db/introspect.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/introspect.h b/src/mongo/db/introspect.h
index 50b98656bc2..f45d9796b34 100644
--- a/src/mongo/db/introspect.h
+++ b/src/mongo/db/introspect.h
@@ -40,12 +40,13 @@ namespace mongo {
class Collection;
class Database;
+ class TransactionExperiment;
/* --- profiling --------------------------------------------
do when database->profile is set
*/
- void profile(const Client& c, int op, CurOp& currentOp);
+ void profile(TransactionExperiment* txn, const Client& c, int op, CurOp& currentOp);
/**
* Get (or create) the profile collection
@@ -54,7 +55,8 @@ namespace mongo {
* @param force Always create the collection if it does not exist
* @return Collection for the newly created collection, or NULL on error
**/
- Collection* getOrCreateProfileCollection(Database *db,
+ Collection* getOrCreateProfileCollection(TransactionExperiment* txn,
+ Database *db,
bool force = false,
std::string* errmsg = NULL);