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

Mise à jour du champs classname restaurée

parent d48ceaef
No related branches found
No related tags found
No related merge requests found
......@@ -101,14 +101,18 @@ where output like 'adhoc%';
-- classname
update tasks
set classname = trim(
set classname =
substr(
output,
instr(output, '('))
, '()')
instr(output, '(') +1, -- pos. (
instr(output, char(10)) - instr(output, '(') -2 -- longueur jusquau new line
)
where type = 'scheduled';
update tasks
set classname = replace(output, 'adhoc task: ', '')
set classname = replace(
substr(output, 1, -1+instr(output, char(10))), -- 1ere ligne
'adhoc task: ',
'')
where type = 'adhoc';
-- started
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment