/[omni_gantt]/omni2db.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /omni2db.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dpavlin, Fri Sep 13 12:38:25 2002 UTC revision 1.6 by dpavlin, Sat Sep 14 12:15:20 2002 UTC
# Line 47  sub db { Line 47  sub db {
47                          }                          }
48                          close(O);                          close(O);
49                  }                  }
50                    
51                  $dbh->do ("insert into gantt (sessionid,type,status,                  $sql = "insert into gantt (sessionid,type,status,
52                          user_group_host,specification,device,host) values                          user_group_host,specification,device,host) values
53                          ('$omni{SessionID}','$omni{Session_type}',                          ('$omni{SessionID}','$omni{Session_type}',
54                          '$omni{Session_status}',                          '$omni{Session_status}',
55                          '".$omni{'User.Group@Host'}."',                          '".$omni{'User.Group@Host'}."',
56                          '$omni{Backup_Specification}',                          '$omni{Backup_Specification}',
57                          '$device','$host')")                          '$device','$host')";
58    
59                    $dbh->do($sql) || warn "$sql : ".$dbh->errstr();
60    
61          }          }
62  }  }
63    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.26