@@ -48,8 +48,6 @@ relations and tuples). **The code here and elsewhere implicitly assumes that the
...
@@ -48,8 +48,6 @@ relations and tuples). **The code here and elsewhere implicitly assumes that the
-`class TransactionState`: This class encapsulates some of the basic functionality of transactions, including some helper functions to create log records, keeping track of
-`class TransactionState`: This class encapsulates some of the basic functionality of transactions, including some helper functions to create log records, keeping track of
what locks the transaction currently holds, etc.
what locks the transaction currently holds, etc.
### Example logs and relations
In `recoverytests-original/` and `recoverytests-answers/`
#### Development
#### Development
...
@@ -133,6 +131,73 @@ will also check for the lock messages ("able to get this lock on...", etc.).
...
@@ -133,6 +131,73 @@ will also check for the lock messages ("able to get this lock on...", etc.).
Our testing will check both the contents of the database (the final versions of
Our testing will check both the contents of the database (the final versions of
the relation file) and the `logfile`.
the relation file) and the `logfile`.
Note that `testingRecovery.py` now uses **"relation"** instead of the original "relation1".
Example logs and relations are
in `recoverytests-original/` and `recoverytests-answers/`. Copy them into the