diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-04-17 12:13:59 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-04-17 13:14:04 -0400 |
commit | 03a7be273f670f01f3c510e43464d7ecd1ce2173 (patch) | |
tree | df3b65ce9a85e7afbe63506851cc8e8bd1efca69 /src/mongo/db/prefetch.h | |
parent | 92748f2572fd6492bfccd56e339b7255017d15ee (diff) | |
download | mongo-03a7be273f670f01f3c510e43464d7ecd1ce2173.tar.gz |
SERVER-13084: remove Client::database and make many things not use thread local versions
Diffstat (limited to 'src/mongo/db/prefetch.h')
-rw-r--r-- | src/mongo/db/prefetch.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/prefetch.h b/src/mongo/db/prefetch.h index d70a662a754..3e97753da23 100644 --- a/src/mongo/db/prefetch.h +++ b/src/mongo/db/prefetch.h @@ -32,8 +32,10 @@ namespace mongo { class Collection; + class Database; + // page in both index and data pages for an op from the oplog - void prefetchPagesForReplicatedOp(const BSONObj& op); + void prefetchPagesForReplicatedOp(Database* db, const BSONObj& op); // page in pages needed for all index lookups on a given object void prefetchIndexPages(Collection *nsd, const BSONObj& obj); |