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: Closed Resolution: Accepted Priority: 5 Private: No Submitted By: Carsten Bock (carstenbock) >Assigned to: Bogdan (bogdan_iancu) 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-04-04 18:55 Message: Logged In: YES user_id=1275325 Originator: NO ok - the patch was commited on devel (1.3) version. Thanks and regards, Bogdan ---------------------------------------------------------------------- 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 _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel