Changeset 7024 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 05/13/05 11:49:02 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C
r6933 r7024 75 75 { 76 76 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]); 77 84 78 85 TSQLResult *res = serv.Query(query); -
trunk/MagicSoft/Mars/datacenter/macros/setupdb.C
r7010 r7024 526 526 527 527 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( 528 536 "CREATE TABLE MyMagic.SequenceBuildStatus (" 529 537 " fDate DATE PRIMARY KEY, "
Note:
See TracChangeset
for help on using the changeset viewer.