in reply to Re^2: DBI and last_insert_id
in thread DBI and last_insert_id
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: DBI and last_insert_id
by cog (Parson) on Jan 29, 2009 at 18:17 UTC |