summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-07-02 15:46:54 -0400
committerMathias Stearn <mathias@10gen.com>2010-07-02 15:46:54 -0400
commita57505d18694f1f5c4545c7b59d7487b878ffd7c (patch)
treeffe052e6e260972be4de7e5d52c1217228411c91 /scripting
parent9730b99def30b673d05b78302ca062f1c38ce838 (diff)
downloadmongo-a57505d18694f1f5c4545c7b59d7487b878ffd7c.tar.gz
debugging
Diffstat (limited to 'scripting')
-rw-r--r--scripting/sm_db.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripting/sm_db.cpp b/scripting/sm_db.cpp
index d8d5bd479cd..87396815544 100644
--- a/scripting/sm_db.cpp
+++ b/scripting/sm_db.cpp
@@ -710,10 +710,12 @@ namespace mongo {
c.setProperty( obj, "floatApprox", argv[ 0 ] );
} else {
string num = c.toString( argv[ 0 ] );
+ PRINT(num);
const char *numStr = num.c_str();
long long n;
try {
n = parseLL( numStr );
+ PRINT(n);
} catch ( const AssertionException & ) {
smuassert( cx , "could not convert string to long long" , false );
}