IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2008, 10:49:34 AM (18 years ago)
Author:
jhoblitt
Message:

remove the use of LAST_INSERT_ID() from the new_object_instance query

File:
1 edited

Legend:

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

    r17816 r17830  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.53 2008-05-27 22:09:35 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.54 2008-05-28 20:49:34 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        VALUES (NULL, ?, ?, 'error', NULL, NULL, NULL, NULL)
    4343    },
    4444    new_instance        => qq{
Note: See TracChangeset for help on using the changeset viewer.