Skip to content
Snippets Groups Projects
Commit 2cd6c16c authored by Didier Cadiou's avatar Didier Cadiou
Browse files

Mise à jour du champs duration restaurée

parent 28e7e4fb
No related tags found
No related merge requests found
......@@ -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%';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment