tracker r1735 - in branches/indexer-split: . src/libtracker-db
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1735 - in branches/indexer-split: . src/libtracker-db
- Date: Mon, 23 Jun 2008 11:41:49 +0000 (UTC)
Author: pvanhoof
Date: Mon Jun 23 11:41:49 2008
New Revision: 1735
URL: http://svn.gnome.org/viewvc/tracker?rev=1735&view=rev
Log:
2008-06-23 Philip Van Hoof <pvanhoof gnome org>
* src/libtracker-db/tracker-db-manager.c: Putting a warning in case of
problems while loading a .sql file
Modified:
branches/indexer-split/ChangeLog
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 Mon Jun 23 11:41:49 2008
@@ -197,7 +197,12 @@
queries = g_strsplit (content, delimiter, -1);
for (i = 0; queries[i]; i++) {
- tracker_db_interface_execute_query (iface, NULL, queries[i]);
+ GError *error = NULL;
+ tracker_db_interface_execute_query (iface, &error, queries[i]);
+ if (error) {
+ g_warning ("Error loading '%s:%d': '%s'", file, i, error->message);
+ g_error_free (error);
+ }
}
g_message (" Loaded SQL file:'%s'", file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]