diff options
author | Eric Milkie <milkie@10gen.com> | 2013-03-25 10:22:49 -0400 |
---|---|---|
committer | Dan Pasette <dan@10gen.com> | 2013-03-28 19:11:06 -0400 |
commit | 4f26c3137e67ba98b4160c40d95c053b5905a9fe (patch) | |
tree | 6dca37c7d95bf01d2887b5904c78125c34b67895 | |
parent | 6f677a81500cd16e3419b02ce54095bb408905ef (diff) | |
download | mongo-4f26c3137e67ba98b4160c40d95c053b5905a9fe.tar.gz |
SERVER-9085 fix units in tsToSeconds calculation
-rw-r--r-- | src/mongo/shell/db.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js index edfdcbb7ee1..e00d0a56cf2 100644 --- a/src/mongo/shell/db.js +++ b/src/mongo/shell/db.js @@ -761,7 +761,7 @@ DB.prototype.killOP = DB.prototype.killOp; DB.tsToSeconds = function(x){ if ( x.t && x.i ) - return x.t / 1000; + return x.t; return x / 4294967296; // low 32 bits are ordinal #s within a second } |