summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ec7a37)
raw | patch | inline | side by side (parent: 5ec7a37)
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | |
Wed, 27 Jul 2011 17:00:30 +0000 (10:00 -0700) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 1 Aug 2011 15:07:27 +0000 (17:07 +0200) |
The CSV plugin formerly used a relatively small output buffer. If you
had a large dataset, you would always get error -1 because the line
length was be too long. This patch extends the buffer.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
had a large dataset, you would always get error -1 because the line
length was be too long. This patch extends the buffer.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/csv.c | patch | blob | history |
diff --git a/src/csv.c b/src/csv.c
index 96c1e3e7aba250179d6c950abbdb12f5fc7d7def..f149edc0df9fe74bdbb380b2c8387d8b9b1810b5 100644 (file)
--- a/src/csv.c
+++ b/src/csv.c
{
struct stat statbuf;
char filename[512];
- char values[512];
+ char values[4096];
FILE *csv;
int csv_fd;
struct flock fl;