[libgda] Enable SQLite's GDA functions is the tools



commit 3f52e327959511485a8b2259abcc05cd5a56a4b9
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Jun 29 21:52:26 2009 +0200

    Enable SQLite's GDA functions is the tools

 tools/browser/auth-dialog.c |    2 +-
 tools/gda-sql.c             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/browser/auth-dialog.c b/tools/browser/auth-dialog.c
index 06ff5b7..430ed60 100644
--- a/tools/browser/auth-dialog.c
+++ b/tools/browser/auth-dialog.c
@@ -301,7 +301,7 @@ auth_dialog_add_cnc_string (AuthDialog *dialog, const gchar *cnc_string, GError
                 e2 = gda_rfc1738_encode (file);
                 g_free (path);
                 g_free (file);
-                real_cnc_string = g_strdup_printf ("%s://DB_DIR=%s;DB_NAME=%s", pname, e1, e2);
+                real_cnc_string = g_strdup_printf ("%s://DB_DIR=%s;LOAD_GDA_FUNCTIONS=TRUE;DB_NAME=%s", pname, e1, e2);
                 g_free (e1);
                 g_free (e2);
                 gda_connection_string_split (real_cnc_string, &real_cnc, &real_provider, &user, &pass);
diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index d11c813..a946b54 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -1283,7 +1283,7 @@ open_connection (SqlConsole *console, const gchar *cnc_name, const gchar *cnc_st
 		e2 = gda_rfc1738_encode (file);
 		g_free (path);
 		g_free (file);
-		real_cnc_string = g_strdup_printf ("%s://DB_DIR=%s;DB_NAME=%s", pname, e1, e2);
+		real_cnc_string = g_strdup_printf ("%s://DB_DIR=%s;LOAD_GDA_FUNCTIONS=TRUE;DB_NAME=%s", pname, e1, e2);
 		g_free (e1);
 		g_free (e2);
 		gda_connection_string_split (real_cnc_string, &real_cnc, &real_provider, &user, &pass);



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