[libgda/gtk3] GdaSql: Handle large lines whlie reading from stream



commit dc3d9e59f745b57355c89fbeefdde9899ab01ac6
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 83d29e1..5a6927e 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]