*** empty log message ***
[csql.git] / test / tools / csql / test089.ksh
blob65c281c816dbcad97d6eb703b31f62e636388632
1 #!/bin/ksh
2 #Test case
3 #create table t1(f1 int not null,f2 int,f3 int);
4 #insert 5 records into t1. Test the following case
5 #a) update t1 set f1=f1+NULL;
7 QUITFILE=${PWD}/tools/csql/quit.sql
8 REL_PATH=.
9 if [ -s "$QUITFILE" ]
10 then
11 REL_PATH=`pwd`/tools/csql
14 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/null6.sql
15 if [ $? -ne 0 ]
16 then
17 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
18 exit 1;
20 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/null7.sql
21 if [ $? -ne 0 ]
22 then
23 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
24 exit 1;