Changeset 7469 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 01/31/06 17:42:30 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/setstatus.C
r7467 r7469 116 116 } 117 117 118 Int_t SetInfluences(MSQLServer &serv, TEnv &rc, TString primary, TString table, TString column, TString statustime, TString failed , TString starttime, TString failedtime, Bool_t resetall)118 Int_t SetInfluences(MSQLServer &serv, TEnv &rc, TString primary, TString table, TString column, TString statustime, TString failedcode, TString failedcomment, TString starttime, TString failedtime, Bool_t resetall) 119 119 { 120 120 cout << "set influenes for " << table << "." << column << endl; … … 123 123 TString influences = rc.GetValue(table+"."+column+".Influences", ""); 124 124 125 TString query(Form("UPDATE %s SET %s=%s, fFailed =%s, fFailedTime=%s ",126 table.Data(), column.Data(), statustime.Data(), failed .Data(),127 failed time.Data()));125 TString query(Form("UPDATE %s SET %s=%s, fFailedCode=%s, fFailedComment='%s', fFailedTime=%s ", 126 table.Data(), column.Data(), statustime.Data(), failedcode.Data(), 127 failedcomment.Data(), failedtime.Data())); 128 128 if (starttime.CompareTo("noreset")) 129 129 query += Form(", fStartTime=%s", starttime.Data());
Note:
See TracChangeset
for help on using the changeset viewer.