------------------------------------------------------------
revno: 361
committer: Michal Hruby <michal....@gmail.com>
branch nick: bluebird
timestamp: Mon 2012-01-02 20:30:04 +0100
message:
  Don't use fts when using in-memory database
modified:
  extensions/fts.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/fts.vala'
--- extensions/fts.vala	2011-10-12 15:31:04 +0000
+++ extensions/fts.vala	2012-01-02 19:30:04 +0000
@@ -61,6 +61,8 @@
 
         construct
         {
+            if (Utils.using_in_memory_database ()) return;
+
             try
             {
                 var connection = Bus.get_sync (BusType.SESSION, null);
@@ -107,7 +109,6 @@
             Variant filter_templates, uint offset, uint count, uint result_type,
             out Variant events) throws Error
         {
-            debug ("Performing search for %s", query_string);
             if (siin == null || !(siin is DBusProxy))
             {
                 // FIXME: queue until we have the proxy

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to