Skip to content
RED SAGSkills
medium10 pts · first answer countsdatabasestransactionslocking

FOR UPDATE that locks nothing useful

Code runs `SELECT ... FOR UPDATE` and then a separate UPDATE, using an autocommit connection with no BEGIN. Two requests still overwrite each other. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions