[libgda/LIBGDA_4.0] GdaSql: Handle large lines whlie reading from stream
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.0] GdaSql: Handle large lines whlie reading from stream
- Date: Sun, 9 Jan 2011 19:38:29 +0000 (UTC)
commit ccc147cc359892844e954774c220531dd94a69f5
Author: Vivien Malerba <malerba gnome-db org>
Date: Sun Dec 12 13:08:38 2010 +0100
GdaSql: Handle large lines whlie reading from stream
tools/tools-input.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/tools-input.c b/tools/tools-input.c
index 045a87d..64caaea 100644
--- a/tools/tools-input.c
+++ b/tools/tools-input.c
@@ -84,7 +84,7 @@ input_from_console (const gchar *prompt)
gchar *
input_from_stream (FILE *stream)
{
- #define LINE_SIZE 1024
+ #define LINE_SIZE 65535
gchar line [LINE_SIZE];
gchar *result;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]