Removing unnecessary DSN=myodbc3 lines from conf files
[csql.git] / test / tools / csql / test089.ksh
blobc056faf1ad34f61fe542e641894b02e723c4a17a
1 #!/bin/sh
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;