Changeset 16 for stat_functions.php


Ignore:
Timestamp:
Oct 17, 2007, 8:26:10 PM (17 years ago)
Author:
george
Message:

Upraveno: Zvýšení max a min rozsahu pro použití databázového 64bit typu BIGINT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stat_functions.php

    r15 r16  
    123123        ($LastValue['continuity'] == 1) and ($Continuity == 1))
    124124      {
    125         echo('s');
     125        //echo('s');
    126126        $Database->update($Measure['DataTable'], 'time="'.$LastValue['time'].'" AND level=0 AND measure='.$Measure['Id'], array('time' => 'NOW()'));
    127127      } else
     
    184184  global $ValueTypes;
    185185 
    186   $NewValue = array('min' => +10000000000, 'avg' => 0, 'max' => -10000000000);
     186  $NewValue = array('min' => +1000000000000000000, 'avg' => 0, 'max' => -1000000000000000000);
    187187 
    188188  // Trim outside parts
Note: See TracChangeset for help on using the changeset viewer.