[libgda] GdaSql: crasher correction



commit 7cdbd129266b703100ba8174ba6ed8326fff9d01
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Dec 9 22:31:14 2012 +0100

    GdaSql: crasher correction

 tools/gda-sql.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index b2c84a7..4e7109e 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -1636,7 +1636,7 @@ static void
 output_data_model (GdaDataModel *model)
 {
 	gchar *str;
-	str = data_model_to_string (NULL, model);
+	str = data_model_to_string (main_data->term_console, model);
 	output_string (str);
 	g_free (str);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]