Show
Ignore:
Timestamp:
05/03/06 23:59:15 (4 years ago)
Author:
sky
Message:

r10@crucially-3 (orig r927): btrott | 2005-06-23 15:56:28 -0700
Changed to assume use of SERIAL columns, which auto-generate IDs for us

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/Data/ObjectDriver/Driver/DBI.pm

    r6 r7  
    286286    ## newly-assigned ID. 
    287287    unless ($obj->has_primary_key) { 
    288         $obj->id($driver->fetch_id($sth)); 
     288        $obj->id($driver->fetch_id($dbh, $sth)); 
    289289    } 
    290290    1;