summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2011-09-27 17:11:52 -0400
committerSpencer T Brody <spencer@10gen.com>2011-09-27 17:11:52 -0400
commite570d7e9dd92b45537c9b59071320f128cd6d4ae (patch)
treeb9a31b0cd9ead2c4877df26fbfec3ab976f99cd8 /tools
parent7fcb73791cbdc8b0bb87fa1b28461b2ac168ef2d (diff)
downloadmongo-e570d7e9dd92b45537c9b59071320f128cd6d4ae.tar.gz
Fix mongoimport on jsonArrays. SERVER-3834
Diffstat (limited to 'tools')
-rw-r--r--tools/import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/import.cpp b/tools/import.cpp
index 16980b05fbb..bd77bcde2df 100644
--- a/tools/import.cpp
+++ b/tools/import.cpp
@@ -396,7 +396,7 @@ public:
break;
}
len += bytesProcessed;
- line += len;
+ line += bytesProcessed;
}
else {
if (!parseRow(in, o, len)) {