[libgda] Tools: small correction
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Tools: small correction
- Date: Sun, 30 Nov 2014 22:05:49 +0000 (UTC)
commit 85d96758207ee5eae18e413ef5f859686097d0b4
Author: Vivien Malerba <malerba gnome-db org>
Date: Thu Nov 27 18:42:42 2014 +0100
Tools: small correction
tools/common/t-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/common/t-utils.c b/tools/common/t-utils.c
index 876289d..a54143e 100644
--- a/tools/common/t-utils.c
+++ b/tools/common/t-utils.c
@@ -223,7 +223,7 @@ t_utils_split_text_into_single_commands (TContext *console, const gchar *command
GdaStatement *stmt;
const gchar *remain = NULL;
GdaSqlParser *parser = NULL;
- if (console)
+ if (console && t_context_get_connection (console))
parser = t_connection_get_parser (t_context_get_connection (console));
else
parser = gda_sql_parser_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]