[drupal-devel] LOCK vs. SELECT FOR UPDATE

Karoly Negyesi karoly at negyesi.net
Thu Sep 29 00:01:45 UTC 2005

I think we should use autoincrement/serial and have a db_last_id function  
(mysql_insert_id, select currval, lastInsertId in PDO etc.). This would  
make Drupal code actually shorter and simpler (a very little bit).

More information about the drupal-devel mailing list