mysql - How to lock a single row -


i have user table field lastusedecnumber.

i need access , increment lastusedecnumber.

during accessing time need lock particular user row (not entire table).

how do this?

the table type myisam.

mysql uses table-level locking myisam tables. if can, switch innodb row-level locking.

here's link mysql site describing locks set sql statements innodb tables. http://dev.mysql.com/doc/refman/5.0/en/innodb-locks-set.html


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -