← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 307: fix double negation problem

 

------------------------------------------------------------
revno: 307
committer: Seif Lotfy <seif@xxxxxxxxx>
branch nick: bluebird
timestamp: Thu 2011-10-13 07:37:19 +0200
message:
  fix double negation problem
modified:
  src/engine.vala


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

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/engine.vala'
--- src/engine.vala	2011-10-11 11:29:52 +0000
+++ src/engine.vala	2011-10-13 05:37:19 +0000
@@ -1078,8 +1078,7 @@
             }
             sb.truncate (sb.len - 1);
 
-            string sql = "%s %s IN (%s)".printf(table_name,
-                (negated) ? "NOT": "", sb.str);
+            string sql = "%s IN (%s)".printf(table_name, sb.str);
             subwhere.add(sql);
         }