3 #utocommit mode to true and commit
4 #set the autocommit mode to true and then call insert and commit from csql. then check that the inserted record is present and the commit should not give error message.
6 QUITFILE
=${PWD}/tools
/csql
/quit.sql
10 REL_PATH
=`pwd`/tools
/csql
13 if [ "$VALGRIND" = "true" ]
15 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/tree24.sql
2> $0.valgr
17 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/tree24.sql
24 if [ "$VALGRIND" = "true" ]
26 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/selectstar.sql
2>> $0.valgr
28 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/selectstar.sql
31 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/drop.sql