IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 8, 2005, 2:48:24 PM (21 years ago)
Author:
jhoblitt
Message:

add type to storage_object
fix delete_object sql

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r5478 r5487  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.11 2005-11-05 02:35:45 jhoblitt Exp $
     3# $Id: Server.pm,v 1.12 2005-11-09 00:48:24 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    590590            my $rows = $query->execute( $so_id );
    591591
    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" );
    595597            }
    596598        }
Note: See TracChangeset for help on using the changeset viewer.