[Typo3-dev] t3lib_db::sql_insert_id portable?

Martin-no$pam-Kutschker "Martin-no$pam-Kutschker" at blackbox.n0spam.net
Tue Apr 27 01:26:53 CEST 2004


Kasper Skårhøj wrote:
> On Tue, 2004-04-27 at 00:17, Martin-no$pam-Kutschker wrote:
> 
>>Hi!
>>
>>AFAIK every db other than Mysql uses sequences for the generation of 
>>unique row ids. So this function call doesn't look portable to me.
> 
> 
> Read the comment: "MysQL Wrapper function".
> 
> It doesn't promise anything more. But it gives us opportunities.
> 
> For most other databases it means that we can simulate the value! Thats
> teh point of an API!

> We are in the start of implementing DBAL, so if your issues are rooted
> in reality we will of course fix these things.

My point was to resolve the issue before something needs fixing. So to 
say, make the API forward-compatible.

Masi





More information about the TYPO3-dev mailing list