File Removed
[csql.git] / test / tools / csql / test068.ksh
blobade778bdc245621b0a1e8ed3ba0e93eb1c4c0d24
1 #!/bin/sh
2 #Test case
3 #autocommit mode to true and rollback
4 #set the autocommit mode to true and then call insert and rollback from csql. then check that the inserted record is present.
6 QUITFILE=${PWD}/tools/csql/quit.sql
7 REL_PATH=.
8 if [ -s "$QUITFILE" ]
9 then
10 REL_PATH=`pwd`/tools/csql
13 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/tree23.sql
14 if [ $? -ne 0 ]
15 then
16 exit 1;
18 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/selectstar.sql
19 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
20 if [ $? -ne 0 ]
21 then
22 exit 1;