summaryrefslogtreecommitdiffstats
path: root/scripts/getresultdetails2.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/getresultdetails2.py')
-rw-r--r--scripts/getresultdetails2.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/getresultdetails2.py b/scripts/getresultdetails2.py
index 20d128e..3b5f2b3 100644
--- a/scripts/getresultdetails2.py
+++ b/scripts/getresultdetails2.py
@@ -50,11 +50,11 @@ class GetResultDetails2:
"SELECT value, valid, EXTRACT(EPOCH FROM startTime)::INT"
" FROM result, upload"
" WHERE uploadId = upload.id"
- " AND contextId = %d"
- " AND benchmarkId = %d"
- " AND metricId = %d"
- " ORDER BY value DESC;"
- % (context, benchmark, metric)):
+ " AND contextId = %s"
+ " AND benchmarkId = %s"
+ " AND metricId = %s"
+ " ORDER BY value DESC",
+ (context, benchmark, metric)):
sample.append({
'value' : value,
'valid' : valid,