aboutsummaryrefslogtreecommitdiffstats
path: root/rtss14/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtss14/database.py')
-rwxr-xr-xrtss14/database.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtss14/database.py b/rtss14/database.py
index f445ab2..3a1ba50 100755
--- a/rtss14/database.py
+++ b/rtss14/database.py
@@ -274,8 +274,7 @@ def __repair_design_points(conn):
274 c.execute('UPDATE dp_pending AS P ' 274 c.execute('UPDATE dp_pending AS P '
275 'JOIN dp_ptested AS T ON %s ' 275 'JOIN dp_ptested AS T ON %s '
276 'JOIN sched_results as R ON P.ts_util=R.ts_util AND T.id=R.dp ' 276 'JOIN sched_results as R ON P.ts_util=R.ts_util AND T.id=R.dp '
277 'SET P.taken=0 ' 277 'SET P.taken=0 ' %
278 'WHERE P.taken<>0' %
279 ' AND '.join(map(lambda x: 'P.%s=T.%s' % (x,x), [d for d in dp_col_names if d != 'ts_util'])) ) 278 ' AND '.join(map(lambda x: 'P.%s=T.%s' % (x,x), [d for d in dp_col_names if d != 'ts_util'])) )
280 nrepaired = c.rowcount 279 nrepaired = c.rowcount
281 c.close() 280 c.close()