[drupal-devel] [feature] Change LOCK in db_next_id (MySQL)

tostinni drupal-devel at drupal.org
Wed Apr 27 22:03:10 UTC 2005


Issue status update for http://drupal.org/node/21439

 Project:      Drupal
 Version:      4.6.0
 Component:    base system
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  tostinni
 Updated by:   tostinni
 Status:       patch

Well, MySQL doc [1] doesn't specify that it's restricted to MyISAM
tables type, in fact I try this in a DB I got at free.fr which restrict
tables types to MyISAM and it worked.


So I guess it's fine ;)
[1] http://dev.mysql.com/doc/mysql/en/select.html




tostinni



Previous comments:
------------------------------------------------------------------------

April 27, 2005 - 14:12 : tostinni

Attachment: http://drupal.org/files/issues/database.mysql.inc.patch (600 bytes)

Some ISP doesn't let user to make LOCK on tables (I'm thinking at
free.fr a famous french free ISP).
This patch provide another method to lock tables using SELECT ... FOR
UPDATE




------------------------------------------------------------------------

April 27, 2005 - 15:10 : chx

Hm , tostinni is this applicable for MyISAM tables? I thought select for
update is for InnoDB.







More information about the drupal-devel mailing list