Changeset 9299 for trunk/MagicSoft
- Timestamp:
- 02/06/09 10:18:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/include.php
r9249 r9299 58 58 case 0: $txt .= ""; break; 59 59 case 1: $txt .= "NOT (IsNull(" . $name . ") OR " . $name . "='1970-01-01 00:00:00') AND "; break; 60 case 2: $txt .= "IsNull(" . $name . ") AND IsNull(fStartTime) AND IsNull(fFailedTime) AND NOT IsNull(" . $needs[$name] . ") AND "; break; 60 // case 2: $txt .= "IsNull(" . $name . ") AND IsNull(fStartTime) AND IsNull(fFailedTime) AND NOT IsNull(" . $needs[$name] . ") AND "; break; //not done but step before is done 61 case 2: $txt .= "IsNull(" . $name . ") AND "; break; //not done no matter what status of previous step is 61 62 case 3: $txt .= $name ."='1970-01-01 00:00:00' AND "; break; 62 63 case 4: $txt .= " (IsNull(" . $name . ") AND IsNull(fFailedTime) AND NOT IsNull(fStartTime) AND date_sub(Now(),interval 12 hour) < fStartTime AND NOT IsNull(" . $needs[$name] . ")) AND "; break; … … 252 253 function PrintText($result0) 253 254 { 254 header("Content-type: application/octet");255 header("Content-Disposition: attachment; filename=query-result.txt");255 // header("Content-type: application/octet"); 256 // header("Content-Disposition: attachment; filename=query-result.txt"); 256 257 257 258 while ($row0 = mysql_fetch_assoc($result0)) … … 317 318 if ($key==$column) 318 319 { 319 if ($element>0)320 printf ("FIXED: %s<BR>", $column);320 // if ($element>0) 321 // printf ("FIXED: %s<BR>", $column); 321 322 return $element; 322 323 }
Note:
See TracChangeset
for help on using the changeset viewer.