3 #create table t1(f1 int not null,f2 int,f3 int);
4 #a) create hash unique index on the first field.
5 #b) create tree unique index on the same field.
8 QUITFILE
=${PWD}/tools
/csql
/quit.sql
12 REL_PATH
=`pwd`/tools
/csql
15 if [ "$VALGRIND" = "true" ]
17 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/tree13.sql
2> $0.valgr
19 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/tree13.sql
26 if [ "$VALGRIND" = "true" ]
28 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csqldump
-T t1
2>> $0.valgr
30 $CSQL_INSTALL_ROOT/bin
/csqldump
-T t1
33 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/drop.sql