UPDATE `ssh_log` SET `ssh_log`.`duration`=TIME_TO_SEC(TIMEDIFF(NOW(),`ssh_log`.`date`)),`ssh_log`.`exit_code`=1 WHERE `ssh_log`.`id`=22967595;