Changeset 7024
- Timestamp:
- 05/13/05 11:49:02 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7023 r7024 21 21 22 22 -*-*- END OF LINE -*-*- 23 2005/05/10 Daniela Dorner 23 2005/05/13 Daniela Dorner 24 25 * datacenter/scripts/runstar 26 - fixed bug in the calculation of the number of to-do-files 27 28 * datacenter/scripts/runcallisto 29 - fixed bug in the calculation of the number of to-do-files 30 31 32 33 2005/05/12 Daniela Dorner 24 34 25 35 * datacenter/macros/fillcalib.C: -
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, " -
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7019 r7024 111 111 lines=`cat $todofile.txt | wc -l` 112 112 echo "number of lines: "$lines >> $scriptlog 2>&1 113 while (( "$lines" < "$pno" )) 114 do 115 echo "# of lines ($lines) < # of processes ($pno) " 116 pno=`expr $pno / 2` 117 done 118 echo "pno: "$pno 113 119 nofiles=`expr $lines / \( $pno - 1 \)` 114 120 echo "number of files: "$nofiles >> $scriptlog 2>&1 -
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7019 r7024 107 107 lines=`cat $todofile.txt | wc -l` 108 108 echo "number of lines: "$lines >> $scriptlog 2>&1 109 while (( "$lines" < "$pno" )) 110 do 111 echo "# of lines ($lines) < # of processes ($pno) " 112 pno=`expr $pno / 2` 113 done 114 echo "pno: "$pno 109 115 nofiles=`expr $lines / \( $pno - 1 \)` 110 116 echo "number of files: "$nofiles >> $scriptlog 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.