Changeset 255

Show
Ignore:
Timestamp:
08/09/2006 08:24:45 PM
Author:
shiva
Message:

Allow up to 6 hours time difference in parent/child actions.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Ken/Unicode/vss2svn.pl

    r254 r255  
    546546    AND physname = ? 
    547547    AND actiontype = ? 
    548     AND (? - timestamp IN (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
     548    AND (ABS(? - timestamp) < 21600
    549549    AND author = ? 
    550550ORDER BY 
     
    552552EOSQL 
    553553 
     554    # timestamp test is within 21600 seconds equals 6 hours (allows for 
     555    # really bad Windows clocks, timezones, and WAN delays) 
    554556    my $sth = $gCfg{dbh}->prepare($sql); 
    555557    $sth->execute( $parentdata, @{ $parentrec }{qw(physname actiontype timestamp author)} ); 

These ads are automatically generated by Google based on the content of this page. Revenue from these ads helps to pay for hosting fees of this site; however, these ads do not constitute an endorsement by PumaCode.org.