3 # Create table (f1 int, f2 int, f3 int);
4 # Insert 5 tuples (1, 1, 1), (2, 2, 2), (1, 2, 3)
5 # create index idx1 on t1(f1) tree unique;
6 # Should fail with unique key violation error.
8 QUITFILE
=${PWD}/tools
/csql
/quit.sql
12 REL_PATH
=`pwd`/tools
/csql
15 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/uniquetreeindontuples.sql
20 $CSQL_INSTALL_ROOT/bin
/csqldump
-T t1
21 $CSQL_INSTALL_ROOT/bin
/csql
-u root
-p manager
-s ${REL_PATH}/drop.sql