File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,10 @@ $CDB2SQL_EXE $CDB2_OPTIONS $DBNAME default "create table t1(a int)"
77
88g=$( $CDB2SQL_EXE --tabs $CDB2_OPTIONS $DBNAME default " select generation from comdb2_transaction_logs where rectype=2015 or rectype=2150" )
99
10- if [[ " $DBNAME " == * " usegen" * ]]; then
11- if [[ " $g " == " NULL" ]]; then
12- echo " Committed-gen database should have non-NULL for generation"
13- exit 1
14- fi
15- else
16- if [[ " $g " != " NULL" ]]; then
17- echo " No-gen database should have NULL for generation in regop_rowlocks record"
18- exit 1
19- fi
10+ # We will always emit commit-gen records
11+ if [[ " $g " == " NULL" ]]; then
12+ echo " Committed-gen database should have non-NULL for generation"
13+ exit 1
2014fi
2115
2216echo " Success"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments