|
From: <no...@so...> - 2001-05-05 14:06:26
|
Patches item #421628, was updated on 2001-05-05 07:06 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=421628&group_id=4421 Category: MAIN branch Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alessio Bragadini (alessio) Assigned to: Nobody/Anonymous (nobody) Summary: Adds a wrapper for LAST_INSERT_ID Initial Comment: LAST_INSERT_ID() is a MySql function to return the primary key of the latest record inserted. It's not supported by other engines. This patch for Slash::DB::MySQL.pm wraps all calls of LAST_INSERT_ID() in a getLastInsertId subroutined that can be redefined in other databases. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=421628&group_id=4421 |