Commit 28e7e4fb authored by Didier Cadiou's avatar Didier Cadiou
Browse files

Mise à jour du champs classname restaurée

parent d48ceaef
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -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