From vss2svn-commits at lists.pumacode.org Fri Oct 20 07:12:45 2006 From: vss2svn-commits at lists.pumacode.org (vss2svn-commits@lists.pumacode.org) Date: Fri Oct 20 07:12:48 2006 Subject: r272 - shiva: /branches/Ken/restore-widetime/script/vss2svn.pl Message-ID: <20061020111246.177A615B82D@cp.thetahost.com> Author: shiva Date: Fri Oct 20 07:12:43 2006 New Revision: 272 Log: Eliminate timestamp check when identifying a parent's child. Modified: branches/Ken/restore-widetime/script/vss2svn.pl Modified: branches/Ken/restore-widetime/script/vss2svn.pl ============================================================================== --- branches/Ken/restore-widetime/script/vss2svn.pl (original) +++ branches/Ken/restore-widetime/script/vss2svn.pl Fri Oct 20 07:12:43 2006 @@ -547,16 +547,13 @@ parentdata = ? AND physname = ? AND actiontype = ? - AND (ABS(? - timestamp) < 259200) AND author = ? ORDER BY ABS(? - timestamp) EOSQL - # timestamp test is within 72 hours (empirical, allows for - # really bad Windows clocks, timezones, and WAN delays) my $sth = $gCfg{dbh}->prepare($sql); - $sth->execute( $parentdata, @{ $parentrec }{qw(physname actiontype timestamp author timestamp)} ); + $sth->execute( $parentdata, @{ $parentrec }{qw(physname actiontype author timestamp)} ); return $sth->fetchall_arrayref( {} ); } # End GetChildRecs