summaryrefslogtreecommitdiff
path: root/db/queryutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/queryutil.cpp')
-rw-r--r--db/queryutil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/queryutil.cpp b/db/queryutil.cpp
index 3076f8332df..c01b89e7059 100644
--- a/db/queryutil.cpp
+++ b/db/queryutil.cpp
@@ -312,6 +312,7 @@ namespace mongo {
break;
}
case BSONObj::opNEAR:
+ case BSONObj::opWITHIN:
_special = "2d";
break;
default: