*** empty log message ***
[csql.git] / test / tools / csql / testnw022.ksh
blob5f6731f174b3c7f75f8b6bbffc88e6b282c8aae5
1 #!/bin/ksh
2 # Test Case
3 #create table taking all field as INT
4 #create index in various ways.
5 #Do all DML operations like select,insert,update,delete on the indexed field.
8 QUITFILE=${PWD}/tools/csql/quit.sql
9 REL_PATH=.
10 if [ -s "$QUITFILE" ]
11 then
12 REL_PATH=`pwd`/tools/csql
15 $CSQL_INSTALL_ROOT/bin/csql -o 4 -u root -p manager -s ${REL_PATH}/indexontuples.sql
16 if [ $? -ne 0 ]
17 then
18 $CSQL_INSTALL_ROOT/bin/csql -o 4 -u root -p manager -s ${REL_PATH}/drop.sql
19 exit 1;
22 $CSQL_INSTALL_ROOT/bin/csql -o 4 -u root -p manager -s ${REL_PATH}/drop.sql
23 if [ $? -ne 0 ]
24 then
25 exit 2;
27 exit 0;