diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-12-13 18:51:31 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-12-13 19:02:27 -0500 |
commit | 623ad9da1ad8495e9324cc95ee6fff8fb05a7ee9 (patch) | |
tree | ac67169b92c0cf3be2709fd5955c871ccfa77018 /scripting | |
parent | e1bcc6b3a2893342f6e23d781c3d5fcc39af38e5 (diff) | |
download | mongo-623ad9da1ad8495e9324cc95ee6fff8fb05a7ee9.tar.gz |
fix off-by-one in spidermonkey line numbering SERVER-2215
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/engine_spidermonkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/engine_spidermonkey.cpp b/scripting/engine_spidermonkey.cpp index f39d9d4f19c..552271b8edc 100644 --- a/scripting/engine_spidermonkey.cpp +++ b/scripting/engine_spidermonkey.cpp @@ -1429,7 +1429,7 @@ namespace mongo { jsval ret = JSVAL_VOID; installInterrupt( timeoutMs ); - JSBool worked = JS_EvaluateScript( _context , _global , code.data() , code.size() , name.c_str() , 0 , &ret ); + JSBool worked = JS_EvaluateScript( _context , _global , code.data() , code.size() , name.c_str() , 1 , &ret ); uninstallInterrupt( timeoutMs ); if ( ! worked && _error.size() == 0 ){ |