summaryrefslogtreecommitdiff
path: root/s/d_logic.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2009-12-03 17:25:22 -0500
committerMathias Stearn <mathias@10gen.com>2009-12-09 12:00:17 -0500
commitdcf3a10eeaef2ea22678c9ae9aaa1fa2e9a81fa2 (patch)
tree19aabb73c5112dfea9ec12a548a21a83e9a1cb20 /s/d_logic.cpp
parent5660a25e9bf3bb86e2c84a3581154efc2d7d1b11 (diff)
downloadmongo-dcf3a10eeaef2ea22678c9ae9aaa1fa2e9a81fa2.tar.gz
Start using Date_t. Can anyone think of a better name?
Diffstat (limited to 's/d_logic.cpp')
-rw-r--r--s/d_logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/d_logic.cpp b/s/d_logic.cpp
index ee260458969..a02d7d6298c 100644
--- a/s/d_logic.cpp
+++ b/s/d_logic.cpp
@@ -58,7 +58,7 @@ namespace mongo {
return (unsigned long long)e.number();
if ( e.type() == Date || e.type() == Timestamp )
- return e.date();
+ return e._numberLong();
errmsg = "version is not a numberic type";