[Devel] [ openser-Patches-1580451 ] Patch for DB-API / mysql Module
(last_inserted_id)
SourceForge.net
noreply at sourceforge.net
Fri Mar 9 11:05:23 CET 2007
Patches item #1580451, was opened at 2006-10-19 14:24
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1580451&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
>Group: ver devel
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Carsten Bock (carstenbock)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for DB-API / mysql Module (last_inserted_id)
Initial Comment:
I already posted this to the mailing list, but received
no reply, so i thought putting in into the tracker
would be a good idea.
Hi everybody,
I am not really sure, if anyone excepts me needs this
functionality, but however:
I extended the OpenSER-Database-API and the
mySQL-Module with an "last_inserted_id" method. This
method returns the last inserted ID of an
INSERT-statement, in case the table has an
auto-increment field.
I did only implement this functionality in the mySQL
module; i took a look in the PostgreSQL-Docs and i did
not find an according functionality in the
postgres-C-API.... (to be honest: since we do not use
postgres in this project, i did not spend too much time
searching...)
What do you think?
Kind regards,
Carsten
----------------------------------------------------------------------
>Comment By: Bogdan (bogdan_iancu)
Date: 2007-03-09 12:05
Message:
Logged In: YES
user_id=1275325
Originator: NO
Hi Carsten,
thanks for the patch - it will be uploaded on SVN after the 1.2.x release.
In the mean while we will look to see if same functionality can be extended
for postgres also.
regards,
bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1580451&group_id=139143
More information about the Devel
mailing list