How to lock a single row

后端 未结 5 494
长情又很酷
长情又很酷 2020-11-30 06:45

I have a user table with field lastusedecnumber.

I need to access and increment lastusedecnumber.

During that accessin

5条回答
  •  [愿得一人]
    2020-11-30 07:03

    I didn't feel like converting my whole database from myisam. So I simply try to create a new table named based on the id of the record I want to lock. If create table is successful, do my work and delete the table at the end. If create table not successful, stop.

提交回复
热议问题