From 03a7be273f670f01f3c510e43464d7ecd1ce2173 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Thu, 17 Apr 2014 12:13:59 -0400 Subject: SERVER-13084: remove Client::database and make many things not use thread local versions --- src/mongo/db/prefetch.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/prefetch.h') 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); -- cgit v1.2.1