zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #04511
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 361: Don't use fts when using in-memory database
------------------------------------------------------------
revno: 361
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
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