2 # Explain plan on all datatypes with single predicate applying hash index(Relational operators).
3 # Create table with all datatypes
4 # create simple hash index on each datatypes.
5 # Apply explain plan on each datatypes using select with where clause.
7 QUITFILE
=${PWD}/sql
/Optimizer
/drop.sql
11 REL_PATH
=`pwd`/sql
/Optimizer
14 echo "drop table t1;" >${REL_PATH}/dropt1.sql
16 $CSQL_INSTALL_ROOT/bin
/csql
-s ${REL_PATH}/dropt1.sql
>/dev
/null
2>&1
18 if [ "$VALGRIND" = "true" ]
20 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/hash_singleprrdicate.sql
22 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/hash_singleprrdicate.sql
25 rm -f ${REL_PATH}/dropt1.sql
30 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/dropt1.sql
31 rm -f ${REL_PATH}/dropt1.sql