*** empty log message ***
[csql.git] / test / tools / csql / test093.ksh
blob7e20e60deca272c145d1d74d681e53bea9025be7
1 #!/bin/ksh
2 # Test Case
3 # check composite primary key
5 QUITFILE=${PWD}/tools/csql/quit.sql
6 REL_PATH=.
7 if [ -s "$QUITFILE" ]
8 then
9 REL_PATH=`pwd`/tools/csql
12 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/comp5.sql
13 if [ $? -ne 0 ]
14 then
15 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop12.sql
16 exit 1;
19 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop12.sql
20 if [ $? -ne 0 ]
21 then
22 exit 2;