--- omni2db.pl 2002/09/13 12:38:25 1.5 +++ omni2db.pl 2002/09/14 12:15:20 1.6 @@ -47,14 +47,17 @@ } close(O); } - - $dbh->do ("insert into gantt (sessionid,type,status, + + $sql = "insert into gantt (sessionid,type,status, user_group_host,specification,device,host) values ('$omni{SessionID}','$omni{Session_type}', '$omni{Session_status}', '".$omni{'User.Group@Host'}."', '$omni{Backup_Specification}', - '$device','$host')") + '$device','$host')"; + + $dbh->do($sql) || warn "$sql : ".$dbh->errstr(); + } }