Changeset 9299 for trunk


Ignore:
Timestamp:
02/06/09 10:18:31 (16 years ago)
Author:
aparavac
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/include.php

    r9249 r9299  
    5858    case 0: $txt .= ""; break;
    5959    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
    6162    case 3: $txt .= $name ."='1970-01-01 00:00:00' AND "; break;
    6263    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;
     
    252253function PrintText($result0)
    253254{
    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");
    256257
    257258    while ($row0 = mysql_fetch_assoc($result0))
     
    317318        if ($key==$column)
    318319        {
    319             if ($element>0)
    320                 printf ("FIXED: %s<BR>", $column);
     320//            if ($element>0)
     321//                printf ("FIXED: %s<BR>", $column);
    321322            return $element;
    322323        }
Note: See TracChangeset for help on using the changeset viewer.