Loading import_into_DB.sh +4 −5 Original line number Diff line number Diff line Loading @@ -126,11 +126,10 @@ set started = substr( -- duration update tasks set duration =substr( substr(output, 1, instr(output, ' seconds')-1), -20); -- set duration = replace(replace(output, ' seconds', ''), '... used ', ''); output, instr(output, 'dbqueries'||char(10)) + 19, instr(output, 'seconds'||char(10)) - instr(output, 'dbqueries'||char(10)) - 19 ); update tasks set duration = null where not output like '%second%'; Loading Loading
import_into_DB.sh +4 −5 Original line number Diff line number Diff line Loading @@ -126,11 +126,10 @@ set started = substr( -- duration update tasks set duration =substr( substr(output, 1, instr(output, ' seconds')-1), -20); -- set duration = replace(replace(output, ' seconds', ''), '... used ', ''); output, instr(output, 'dbqueries'||char(10)) + 19, instr(output, 'seconds'||char(10)) - instr(output, 'dbqueries'||char(10)) - 19 ); update tasks set duration = null where not output like '%second%'; Loading