1
# Setup table for tests
4
--source include/setup-global-constraints.inc
6
# We appear to need to beef up the table to use the read_rnd buffer at all
7
alter table t1 modify charcol1 varchar(255);
8
alter table t1 modify charcol2 varchar(255);
9
insert into t1 select SQL_BIG_RESULT * from t1;
10
insert into t1 select SQL_BIG_RESULT * from t1;
11
insert into t1 select SQL_BIG_RESULT * from t1;
12
insert into t1 select SQL_BIG_RESULT * from t1;
13
insert into t1 select SQL_BIG_RESULT * from t1;
15
# Test for read_rnd buffer constraint
17
--exec $DRIZZLE_SLAP -q "SELECT SQL_BIG_RESULT * FROM t1 ORDER BY 1" -c100 --iterations=1 --number-of-queries=1000 --create-schema=test