[libgda] GdaSql: Handle large lines whlie reading from stream
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdaSql: Handle large lines whlie reading from stream
- Date: Sun, 12 Dec 2010 15:16:16 +0000 (UTC)
commit 33be7b9c8bc3e588ada164913d61e6e8581e1d38
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]