Ignore:
Timestamp:
01/31/06 17:42:30 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/setstatus.C

    r7467 r7469  
    116116}
    117117
    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)
     118Int_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)
    119119{
    120120    cout << "set influenes for " << table << "." << column << endl;
     
    123123    TString influences  = rc.GetValue(table+"."+column+".Influences", "");
    124124
    125     TString query(Form("UPDATE %s SET %s=%s, fFailed=%s, fFailedTime=%s ",
    126                        table.Data(), column.Data(), statustime.Data(), failed.Data(),
    127                        failedtime.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()));
    128128    if (starttime.CompareTo("noreset"))
    129129        query += Form(", fStartTime=%s", starttime.Data());
Note: See TracChangeset for help on using the changeset viewer.