4 # 6.load with definition option. should succeed.
6 #Run this test only under csql/test or on this directory.
7 #Otherwise, it may fail
9 input
=${PWD}/cache
/CacheTable
/inputtest4.sql
13 REL_PATH
=${PWD}/cache
/CacheTable
16 cp $CSQL_CONFIG_FILE /tmp
/csql.conf
17 echo DSN
=$DSN >>$CSQL_CONFIG_FILE
18 DS
="$DSN $DBUSER $PASSWORD"
19 rm -f /tmp
/csql
/csqlds.conf
20 touch /tmp
/csql
/csqlds.conf
21 $CSQL_INSTALL_ROOT/bin
/csqlds
-U $DBUSER -P $PASSWORD -D $DSN -N $TDB -a
24 cp /tmp
/csql.conf
$CSQL_CONFIG_FILE
27 echo CACHE_TABLE
=true
>>$CSQL_CONFIG_FILE
28 isql
$DS < ${REL_PATH}/inputtest4.sql
>/dev
/null
2>&1
30 rm -f /tmp
/csql
/csqltable.conf
31 touch /tmp
/csql
/csqltable.conf
33 $CSQL_INSTALL_ROOT/bin
/cachetable
-t t1
> /dev
/null
2>&1
39 rm -f /tmp
/csql
/csqltable.conf
40 touch /tmp
/csql
/csqltable.conf
42 isql
$DS < ${REL_PATH}/drop.sql
>/dev
/null
2>&1
43 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/drop.sql
> /dev
/null
2>&1
44 cp /tmp
/csql.conf
$CSQL_CONFIG_FILE