Ron Savage schreef:
> Dr.Ruud:

>> [ /mysql|Pg/ ]
>> Notice that 'CertainlyNotPgAtAll' matches, so maybe you were
>> looking for /\A(?:mysql|pg)\z/i
> 
> Nope. Method db_vendor() extracts the vendor's name from the connect
> string passed to DBI, so I don't see how it could return that :-))).

Is it legal to pass 'MySQL'? How about '  mysql  '?


>> MySQL's native LAST_INSERT_ID() will return the *first* id from a
>> multi row insert. I don't [k]now what DBI does with that.
> 
> Good point. But then my code doesn't come with a written guarantee to
> work with multi-row inserts...

But then I don't claim that you claim. <g>

-- 
Affijn, Ruud

"Gewoon is een tijger."

Reply via email to