Consider the following schedule:
Lock S(A)
Lock S(C)
Read(A)
Read (C)
Lock X(B)
Unlock (A)
Read(B)
Unlock (C)
Write(B)
Commit
Unlock (B)
Which of the following concurrency control protocols is satisfied in the above schedule?
1
Basic 2PL
2
Strict 2PL
3
Both 1 and 2
4
Neither 1 nor 2
5
Question Not Attempted