3 # check used and free transacation slots in transaction table
6 # insert 1 tuple in 1 transaction and abort
8 # check used and free transacation slots in transaction table
10 #Run this test only under csql/test or on this directory.
11 #Otherwise, it may fail
12 EXECUTABLE
=${PWD}/system
/trans
/create
14 if [ -s "$EXECUTABLE" ]
16 REL_PATH
=${PWD}/system
/trans
21 echo "create table failed"
25 echo "Case 1: -d option with no transactions"
26 $CSQL_INSTALL_ROOT/bin
/catalog
-u root
-p manager
-D trans
34 while [ ${count} -gt 0 ]
36 count
=`expr ${count} - 1`
37 ${REL_PATH}/insert1andAbort
>/tmp
/tstlog
44 echo "Case 2: -d option after 120 aborts"
45 $CSQL_INSTALL_ROOT/bin
/catalog
-u root
-p manager
-D trans
53 echo "drop table failed"