From dfffbc03559941bcb3a430cb7319194d31685323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 18:12:59 +0200 Subject: Fix wrong configuration reading from database --- scripts/database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/database.py b/scripts/database.py index eef118d..6a4d0a1 100644 --- a/scripts/database.py +++ b/scripts/database.py @@ -132,8 +132,8 @@ class database: def get_unmeasured(self): "Returns list of all unmeasured configurations." - ps = self.db.prepare("""SELECT * FROM configurations - WHERE NOT EXISTS + ps = self.db.prepare("""SELECT id, hash, cfile FROM configurations + WHERE id NOT IN (SELECT conf FROM measure) """) rtn = [] -- cgit v1.2.3