2 --eval create
table t1 (a $type1, b $type2, c $type3, d
int, e $type4, primary key(a,c,e), unique(c,b,d)) engine ndb partition by key(c,e)
3 --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 8072" >> $NDB_TOOLS_OUTPUT
5 --echo
# verify tc select on insert using simple int key
12 --eval insert into t1 values (
"$i",
"$j",0,0,
"$j")
19 --echo
# verify tc select on select using simple pk int key
26 --eval select * from t1 where a=
"$i" and c=
"0" and e=
"$j"
34 --echo # verify tc select on select
using simple unique
int key
40 --eval select * from t1 where b=
"$i" and c=
"0" and d=
"0"
46 --echo # verify tc select on update
using simple pk
int key
53 --eval update t1
set d=
"10" where a=
"$i" and c=
"0" and e=
"$j"
60 --echo # verify tc select on update
using simple unique
int key
66 --eval update t1
set d=11 where b=
"$i" and c=
"0" and d=
"0"
72 --echo # verify tc select on
delete using simple pk
int key
79 --eval
delete from t1 where a=
"$i" and c=
"0" and e=
"$j"
86 --echo # verify tc select on
delete using simple unique
int key
92 --eval
delete from t1 where b=
"$i" and c=
"0" and d=
"0"
99 --exec $NDB_MGM --no-defaults --ndb-connectstring=
"$NDB_CONNECTSTRING" -e
"all error 0" >> $NDB_TOOLS_OUTPUT