diff options
| author | Dwight <dmerriman@gmail.com> | 2008-06-11 17:15:28 -0400 |
|---|---|---|
| committer | Dwight <dmerriman@gmail.com> | 2008-06-11 17:15:28 -0400 |
| commit | 543621e070e54efa09c4417e20a696eb94f11f02 (patch) | |
| tree | 15207b0e7d8317c27f21d15aa3dd820d52083717 /db/query.cpp | |
| parent | 131e2eb860639e14234c9e004c5910635549f2b4 (diff) | |
v114 merge patchr0.0.4_rc3
Diffstat (limited to 'db/query.cpp')
| -rw-r--r-- | db/query.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/query.cpp b/db/query.cpp index 2a624977630..1cd60df52b4 100644 --- a/db/query.cpp +++ b/db/query.cpp @@ -639,7 +639,7 @@ void killCursors(int n, long long *ids) { auto_ptr<Cursor> findTableScan(const char *ns, JSObj& order); -QueryResult* runQuery(const char *ns, int ntoskip, int _ntoreturn, JSObj jsobj, +QueryResult* runQuery(Message& message, const char *ns, int ntoskip, int _ntoreturn, JSObj jsobj, auto_ptr< set<string> > filter, stringstream& ss) { bool wantMore = true; @@ -740,6 +740,7 @@ assert( debug.getN() < 5000 ); ClientCursor::add(cc); cc->updateLocation(); cc->filter = filter; + cc->originalMessage = message; } } break; |
