Sep. 2nd, 2008

nolly: (fluffy dragon)
I would like to give a serious clue-by-four beating to whoever thought it was a good idea to implement last_insert_id() many versions before adding transactions to MySQL. In a transactional context, it's a possibly useful function, though I prefer specifying what I want the last ID from, a la PG's currval. Outside of one? Dangerously unreliable, a concept one or more of my predecessors completely failed to grasp.

[end rant]

Profile

nolly: (Default)
nolly

December 2011

S M T W T F S
     123
45678910
11121314 151617
18192021 222324
25262728293031

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 1st, 2025 12:55 am
Powered by Dreamwidth Studios