XP is just a number | |
PerlMonks |
Re^3: DBI and last_insert_idby perrin (Chancellor) |
on Jan 29, 2009 at 16:56 UTC ( [id://739964]=note: print w/replies, xml ) | Need Help?? |
Ok, here are a couple more thoughts. First, is there possibly another insert in your real code between the first insert and your call to last_insert_id? A side effect of some sub call maybe? Second, you definitely should be able to see data you inserted during a transaction with a SELECT, even if the data is not committed yet, provided your queries are all coming from the same connection. That sounds very suspicious to me.
In Section
Seekers of Perl Wisdom
|
|