summaryrefslogtreecommitdiff
path: root/s/request.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-02-26 15:55:00 -0500
committerEliot Horowitz <eliot@10gen.com>2009-02-26 15:55:00 -0500
commit3722075618f2cfd20a5bd1251895610989df8669 (patch)
tree8dd72297d05153c7f7edc2c75a5ea755d9a2f5ba /s/request.cpp
parentce06c18f4c144b3cdb119e631d60f51453ed85e7 (diff)
downloadmongo-3722075618f2cfd20a5bd1251895610989df8669.tar.gz
get(Prev|Last)Error stubs
Diffstat (limited to 's/request.cpp')
-rw-r--r--s/request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/request.cpp b/s/request.cpp
index 7680eb2711a..72c0006cebb 100644
--- a/s/request.cpp
+++ b/s/request.cpp
@@ -76,7 +76,7 @@ namespace mongo {
if ( q.ntoreturn == 1 &&
strstr( q.ns , ".$cmd" ) &&
- strcmp( "$eval" , query.firstElement().fieldName() ) ){
+ strcmp( "$eval" , query.firstElement().fieldName() ) == 0 ){
log() << "trying to eval: " << q.query << endl;
throw UserException( "eval not supported on partitioned databases yet" );
}