Day 20 10 min
Locks and deadlocks
1 / 11 · ≈ 10 min left
Warm-up
From yesterday. Answer from memory: a wrong guess still helps you remember.
Under Read Committed, two checkouts each SELECT stock (1), then each runs UPDATE items SET stock = 0. What is the result?