A solution to the uncommitted dependency problem is shown in Figure 20.16. To prevent
this problem occurring, T
4
first requests an exclusive lock on bal
x
. It can then proceed to
read the value of bal
x
from the database, increment it by £100, and write the new value.