[libgda] Don't display the "SQLite provider enforces foreign keys." message



commit b8c8d3c87f1129492aec0e5fdb244739cb13900d
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon May 24 15:13:27 2010 +0200

    Don't display the "SQLite provider enforces foreign keys." message

 libgda/sqlite/gda-sqlite-provider.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index 8db4d13..cd767a9 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -737,12 +737,14 @@ gda_sqlite_provider_open_connection (GdaServerProvider *provider, GdaConnection
 				return FALSE;
 			}
 		}
+#ifdef GDA_DEBUG_NO
 		else {
 			if (enforce_fk)
 				g_print ("SQLite provider enforces foreign keys.\n");
 			else
 				g_print ("SQLite provider does not enforce foreign keys.\n");
 		}
+#endif
 	}
 
 	if (use_extra_functions && ((*use_extra_functions == 't') || (*use_extra_functions == 'T'))) {



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