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
Post a Comment