Changeset 5487 for trunk/Nebulous-Server/lib/Nebulous/Server.pm
- Timestamp:
- Nov 8, 2005, 2:48:24 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server.pm
r5478 r5487 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: Server.pm,v 1.1 1 2005-11-05 02:35:45jhoblitt Exp $3 # $Id: Server.pm,v 1.12 2005-11-09 00:48:24 jhoblitt Exp $ 4 4 5 5 package Nebulous::Server; … … 590 590 my $rows = $query->execute( $so_id ); 591 591 592 # if we affected something other then one row something very bad has happened 593 unless ( $rows == 1 ) { 594 $log->logdie( "affected row count is $rows instead of 1" ); 592 # if we affected something other then two rows something very bad 593 # has happened 594 # this will have to be changed in order to support hardlinks 595 unless ( $rows == 2 ) { 596 $log->logdie( "affected row count is $rows instead of 2" ); 595 597 } 596 598 }
Note:
See TracChangeset
for help on using the changeset viewer.
