IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 25, 2008, 4:04:46 PM (18 years ago)
Author:
jhoblitt
Message:

redo database schema with foreign keys

File:
1 edited

Legend:

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

    r16224 r16244  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.49 2008-01-25 02:11:23 jhoblitt Exp $
     3# $Id: Server.pm,v 1.50 2008-01-26 02:04:46 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    10041004            $query->finish;
    10051005           
    1006             # if we affected something other then one row something very bad
     1006            # if we affected something other then two rows something very bad
    10071007            # has happened
    10081008            unless ( $rows == 1 ) {
     
    10191019            $query->finish;
    10201020
    1021             # if we affected something other then two rows something very bad
    1022             # has happened
    1023             # this will have to be changed in order to support hardlinks
    1024             unless ( $rows == 2 ) {
     1021            # TODO: this will have to be changed in order to support hardlinks
     1022            unless ( $rows == 1 ) {
    10251023                $log->logdie( "affected row count is $rows instead of 2" );
    10261024            }
Note: See TracChangeset for help on using the changeset viewer.