Changeset 9105 for trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php
- Timestamp:
- 08/06/08 16:13:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php
r8850 r9105 48 48 else 49 49 { 50 $query0 .= " RunData.fRunNumber as 'Run#' "; 50 // $query0 .= " RunData.fRunNumber as 'Run#' "; 51 // $query0 .= " Concat(RunData.fTelescopeNumber,':', RunData.fRunNumber,':', RunData.fFileNumber) as 'Run' "; 52 $query0 .= " Concat(RunData.fTelescopeNumber,':', RunData.fRunNumber,':', RunData.fFileNumber) as 'Tel:Run:File' "; 51 53 52 54 if (empty($_GET["fSendTxt"]) && !empty($_GET["fLinks"])) … … 65 67 $query0 .= " FROM RunData "; 66 68 67 $query0 .= " LEFT JOIN RunProcessStatus ON RunData.fRunNumber=RunProcessStatus.fRunNumber";69 $query0 .= " LEFT JOIN RunProcessStatus USING(fRunNumber,fTelescopeNumber,fFileNumber) "; 68 70 69 71 foreach ($_GET as $key => $element) … … 74 76 { 75 77 if ($_GET["fSourceName"]!="On") 76 $query0 .= " LEFT JOIN Source ON Sequences.fSourceKEY=Source.fSourceKEY";78 $query0 .= " LEFT JOIN Source USING(fSourceKEY) "; 77 79 $query0 .= " WHERE fTest='no'"; 78 80 } … … 262 264 printf(" <P>\n"); 263 265 PrintSourceMenu($host,$user,$pw,$db); 264 PrintNumResPullDown();265 266 printf("<p>"); 266 267 printf("</div>"); … … 271 272 ini_set("display_errors", "Off"); 272 273 274 PrintNumResPullDown(); 273 275 PrintButtons("runinfo-aio.php"); 274 276
Note:
See TracChangeset
for help on using the changeset viewer.