Question: i ) Consider the following code and Find out the what type of 2 PL locking is used: a ) Lock _ S ( basic
i Consider the following code and Find out the what type of PL locking is used:
a LockSbasic
LockXnetsal
LockSdeduct
LockXhra
RBasic
Rdeduct
Hrahrahra
Netsal basic deduct hra
Unlockbasic
Unlockdeduct
Wnetsal
Whra
Commit
Unlock netsal
Unlockhra
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
