diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-07-02 15:46:54 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-07-02 15:46:54 -0400 |
commit | a57505d18694f1f5c4545c7b59d7487b878ffd7c (patch) | |
tree | ffe052e6e260972be4de7e5d52c1217228411c91 | |
parent | 9730b99def30b673d05b78302ca062f1c38ce838 (diff) | |
download | mongo-a57505d18694f1f5c4545c7b59d7487b878ffd7c.tar.gz |
debugging
-rw-r--r-- | scripting/sm_db.cpp | 2 |
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 ); } |