Ignore:
Timestamp:
05/13/05 11:49:02 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/macros
Files:
2 edited

Legend:

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

    r6933 r7024  
    7575    {
    7676        query = Form("DELETE FROM MyMagic.Calibration WHERE fSequenceFirst=%s", (*row)[0]);
     77
     78        TSQLResult *res = serv.Query(query);
     79        if (!res)
     80            return kFALSE;
     81        delete res;
     82
     83        query = Form("DELETE FROM MyMagic.Star WHERE fSequenceFirst=%s", (*row)[0]);
    7784
    7885        TSQLResult *res = serv.Query(query);
  • trunk/MagicSoft/Mars/datacenter/macros/setupdb.C

    r7010 r7024  
    526526
    527527    list.Add(new TObjString(
     528         "CREATE TABLE MyMagic.Star ("
     529         "  fSequenceFirst      INT        UNSIGNED   PRIMARY KEY, "
     530         "  fMeanNumberIslands  FLOAT(5,1)            NOT NULL,"
     531         "  fPSF                FLOAT(5,1)            NOT NULL,"
     532         "  fLastUpdate         TIMESTAMP"
     533         ")"));
     534
     535    list.Add(new TObjString(
    528536         "CREATE TABLE MyMagic.SequenceBuildStatus ("
    529537         "  fDate                  DATE                 PRIMARY KEY, "
Note: See TracChangeset for help on using the changeset viewer.