diff options
| author | Georgios Andreadis <G.Andreadis@student.tudelft.nl> | 2017-08-10 09:40:26 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-10 09:40:26 +0300 |
| commit | bc70e6ae115beb469541c12014ffdecc01a1e50c (patch) | |
| tree | 935c2ef5b1621b0e13ec76f2ca02f6912940d690 /opendc/models/task_duration.py | |
| parent | 5d42f30ed30aa5b6970304569c6bd01c16078759 (diff) | |
| parent | 54617bf3268c27d63a40844216760a49f28d39e0 (diff) | |
Merge pull request #9 from atlarge-research/mariadb
Migration to MariaDB
Diffstat (limited to 'opendc/models/task_duration.py')
| -rw-r--r-- | opendc/models/task_duration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/task_duration.py b/opendc/models/task_duration.py index 31334040..0d3432e3 100644 --- a/opendc/models/task_duration.py +++ b/opendc/models/task_duration.py @@ -27,7 +27,7 @@ class TaskDuration(Model): statement = ''' SELECT task_id, MAX(tick) - MIN(tick) as duration FROM task_states - WHERE experiment_id = ? + WHERE experiment_id = %s GROUP BY task_id ''' |
