[drupal-devel] LOCK vs. SELECT FOR UPDATE

Moshe Weitzman weitzman at tejasa.com
Fri Sep 30 02:09:49 UTC 2005


Khalid B wrote:
> If connections are on a per client, then I am with Moshe on this.
> 
> Let us do it The Right Way (TM).

thanks for the kindness. please excuse my brief rant aimed at noone in 
particular ...

there is nothing wrong with our home grown sequences. we currently 
support RDMS that don't supply sequences of their own, or those that 
can't reliably return a LAST_INSERT_ID.

There is no single "Right Way" to do sequences; these are engineering 
tradeoffs. I don't think it is helpful to frame engineering decisions 
this way. I feel similarly when people describe eval() as 'evil' or 
javascript as 'evil'. broad comments like these do not advance the 
conversation.



More information about the drupal-devel mailing list