diff options
author | Antonin Kral <a.kral@bobek.cz> | 2011-06-18 21:24:41 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2011-06-18 21:24:41 +0200 |
commit | 64b33ee522375a8dc15be2875dfb7db4502259b0 (patch) | |
tree | 44979e0aaf6bb576f4a737a93e071e28809b6779 /db/queryoptimizer.cpp | |
parent | 4d87ff4aa74d7ae975268ac43eee152dc3f5b7e9 (diff) | |
download | mongodb-64b33ee522375a8dc15be2875dfb7db4502259b0.tar.gz |
Imported Upstream version 1.8.2
Diffstat (limited to 'db/queryoptimizer.cpp')
-rw-r--r-- | db/queryoptimizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/queryoptimizer.cpp b/db/queryoptimizer.cpp index 0b9dce7..4eb2a99 100644 --- a/db/queryoptimizer.cpp +++ b/db/queryoptimizer.cpp @@ -914,7 +914,8 @@ doneCheckOrder: } if ( !id ) { - errmsg = (string)"no index found for specified keyPattern: " + keyPattern.toString(); + errmsg = str::stream() << "no index found for specified keyPattern: " << keyPattern.toString() + << " min: " << min << " max: " << max; return 0; } |