summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Price <josh@canoniq.com>2012-07-08 21:23:58 +1000
committerEric Milkie <milkie@10gen.com>2012-07-09 15:25:51 -0400
commit6de83ddbe9c0a34b13559e45e9be18d2565c4707 (patch)
tree00df2e98e95bbba9ec2696121708cf75cbc786ce
parentf198c21e4bd5dbbc9d989ff5ddf2bf05f72ff2a0 (diff)
downloadmongo-6de83ddbe9c0a34b13559e45e9be18d2565c4707.tar.gz
SERVER-6359 mongoexport now outputs full strings in CSV mode
See discussion here: https://groups.google.com/forum/?fromgroups#!topic/mongodb-user/ngu9U1lKMfk Signed-off-by: Eric Milkie <milkie@10gen.com>
-rw-r--r--tools/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/export.cpp b/tools/export.cpp
index 0d9f0225da0..344fd3cbc23 100644
--- a/tools/export.cpp
+++ b/tools/export.cpp
@@ -88,7 +88,7 @@ public:
return object.toString(false);
case String:
case Symbol:
- return csvEscape(object.toString(false), true);
+ return csvEscape(object.toString(false, true), true);
case Object:
return csvEscape(object.jsonString(Strict, false));
case Array: