Given below are two statements:
Which of the following concurrency control protocol ensures both conflict serializability and freedom from deadlock?
Statement I: Two phase locking
Statement II: Timestamp ordering
In the light of the above statements, choose the most appropriate answer from the options given below:
1
Both Statement I and Statement II are correct
2
Both Statement I and Statement II are incorrect
3
Statement I is correct but Statement II is incorrect
4
Statement I is incorrect but Statement II is correct