[libgda/LIBGDA_4.0] GdaSql: Handle large lines whlie reading from stream



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]