3
# Read through db_printlog output and list all the transactions encountered
4
# and whether they commited or aborted.
8
# 3 = explicitly aborted
15
if (status[$5] == 0) {
36
for (i = 0; i < cur_txn; i++) {
37
if (status[txns[i]] == 1)
38
printf("%s\tABORT\n", txns[i]);
39
if (status[txns[i]] == 2)
40
printf("%s\tCOMMIT\n", txns[i]);
41
if (status[txns[i]] == 3)
42
printf("%s\tABORT\n", txns[i]);
43
if (status[txns[i]] == 4)
44
printf("%s\tOTHER\n", txns[i]);