diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-12 18:12:59 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-13 10:14:11 +0200 |
commit | dfffbc03559941bcb3a430cb7319194d31685323 (patch) | |
tree | 8aa124e3ea3c804901e7a882946b969076de212f /scripts | |
parent | 523c57cee7c9d4909788c85cc392c60e8c056e4d (diff) | |
download | linux-conf-perf-dfffbc03559941bcb3a430cb7319194d31685323.tar.gz linux-conf-perf-dfffbc03559941bcb3a430cb7319194d31685323.tar.bz2 linux-conf-perf-dfffbc03559941bcb3a430cb7319194d31685323.zip |
Fix wrong configuration reading from database
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/database.py | 4 |
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 = [] |