tracker r1780 - branches/indexer-split/src/libtracker-db



Author: pvanhoof
Date: Thu Jun 26 15:24:48 2008
New Revision: 1780
URL: http://svn.gnome.org/viewvc/tracker?rev=1780&view=rev

Log:
Removed unneeded assertion

Modified:
   branches/indexer-split/src/libtracker-db/tracker-db-manager.c

Modified: branches/indexer-split/src/libtracker-db/tracker-db-manager.c
==============================================================================
--- branches/indexer-split/src/libtracker-db/tracker-db-manager.c	(original)
+++ branches/indexer-split/src/libtracker-db/tracker-db-manager.c	Thu Jun 26 15:24:48 2008
@@ -2136,15 +2136,6 @@
 
 	iface = db_interface_get (TRACKER_DB_XESAM, &create);
 
-	if (!attach_iface) {
-		g_critical ("XESAM database could not be set up because "
-			    "there is no TrackerDBInterface with all connections "
-			    "attached. The common database is needed to create "
-			    "the xesam database correctly!");
-		g_object_unref (iface);
-		return NULL;
-	}
-
 	if (create) {
 		tracker_db_interface_start_transaction (iface);
 		load_sql_file (iface, "sqlite-xesam.sql", NULL);



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