Consider the following transaction schedules S1 and S2
Choose the correct option thatholds for the schedules S1 and S2.
schedule S1: | r1(A) | w1(A) | r2(B) | w2(B) | r1(B) |
swap r2(B) and w1(A): | r1(A) | r2(B) | w1(A) | w2(B) | r1(B) |
swap r2(B) and r1(A): | r2(B) | r1(A) | w1(A) | w2(B) | r1(B) |
swap w2(B) and w1(A): | r2(B) | r1(A) | w2(B) | w1(A) | r1(B) |
swap w2(B) and r1(A): | r2(B) | w2(B) | r1(A) | w1(A) | r1(B) |
schedule S2: | r1(A) | w1(A) | r2(A) | w2(A) | r1(A) |