aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 18:12:59 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 18:18:19 +0200
commit62763b42386428ada30d0a127181de524bcc21b6 (patch)
tree68a9811a543b97c660e6782bd98af3f5589fc03b /scripts
parented07b06f529d9df1cb9f6e95b5780a064206737e (diff)
downloadlinux-conf-perf-62763b42386428ada30d0a127181de524bcc21b6.tar.gz
linux-conf-perf-62763b42386428ada30d0a127181de524bcc21b6.tar.bz2
linux-conf-perf-62763b42386428ada30d0a127181de524bcc21b6.zip
Fix wrong configuration reading from database
Diffstat (limited to 'scripts')
-rw-r--r--scripts/database.py4
1 files 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 = []