2 #Testing Now() for Time
3 CREATEFILE
=${PWD}/sql
/ScalarFunction
/csql.conf
5 if [ -s "$CREATEFILE" ]
7 REL_PATH
=`pwd`/sql
/ScalarFunction
10 echo "drop table t1;" >${REL_PATH}/dropt1.sql
12 $CSQL_INSTALL_ROOT/bin
/csql
-s ${REL_PATH}/dropt1.sql
>/dev
/null
2>&1
14 if [ "$VALGRIND" = "true" ]
16 valgrind
--tool=memcheck
--leak-check=full
$CSQL_INSTALL_ROOT/bin
/csql
-s ${REL_PATH}/time_with_now.sql
19 $CSQL_INSTALL_ROOT/bin
/csql
-s ${REL_PATH}/time_with_now.sql
23 $CSQL_INSTALL_ROOT/bin
/csql
-s ${REL_PATH}/dropt1.sql
24 rm -f ${REL_PATH}/dropt1.sql
29 rm -f ${REL_PATH}/dropt1.sql