diff options
Diffstat (limited to 'db2/progs/db_printlog/status.awk')
-rw-r--r-- | db2/progs/db_printlog/status.awk | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/db2/progs/db_printlog/status.awk b/db2/progs/db_printlog/status.awk deleted file mode 100644 index d97e9357b7..0000000000 --- a/db2/progs/db_printlog/status.awk +++ /dev/null @@ -1,26 +0,0 @@ -# @(#)status.awk 10.1 (Sleepycat) 11/1/98 -# -# Read through db_printlog output and list all the transactions encountered -# and whether they commited or aborted. -# -# 1 = started -# 2 = commited -BEGIN { - cur_txn = 0 -} -/^\[/{ - if (status[$5] == 0) { - status[$5] = 1; - txns[cur_txn] = $5; - cur_txn++; - } -} -/txn_regop/ { - status[$5] = 2 -} -END { - for (i = 0; i < cur_txn; i++) { - printf("%s\t%s\n", - txns[i], status[txns[i]] == 1 ? "ABORT" : "COMMIT"); - } -} |