IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2008, 10:34:30 AM (18 years ago)
Author:
jhoblitt
Message:

SQL tweaks/testing

File:
1 edited

Legend:

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

    r17857 r18017  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.56 2008-05-30 00:15:53 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.57 2008-06-09 20:34:30 jhoblitt Exp $
    44
    55package Nebulous::Server::SQL;
     
    4040    new_object_instance => qq{
    4141        INSERT INTO instance
    42         VALUES (NULL, LAST_INSERT_ID(), ?, 'error', NULL, NULL, NULL, NULL)
     42        (so_id, vol_id, uri)
     43        VALUES (LAST_INSERT_ID(), ?, 'error')
    4344    },
    4445    new_instance        => qq{
    4546        INSERT INTO instance
    46         VALUES (NULL, ?, ?, 'error', NULL, NULL, NULL, NULL)
     47        (so_id, vol_id, uri)
     48        VALUES (?, ?, 'error')
    4749    },
    4850    get_object          => qq{
Note: See TracChangeset for help on using the changeset viewer.