3 #create table t1(f1 int not null,f2 int,f3 int);
4 #a) create hash unique index on the first field.
6 #c) create hash primary index on the same field.
9 QUITFILE
=${PWD}/tools
/csql
/quit.sql
13 REL_PATH
=`pwd`/tools
/csql
16 if [ "$VALGRIND" = "true" ]
18 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/tree12.sql
2> $0.valgr
20 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/tree12.sql
27 if [ "$VALGRIND" = "true" ]
29 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csqldump
-T t1
2>> $0.valgr
31 $CSQL_INSTALL_ROOT/bin
/csqldump
-T t1
34 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/drop.sql