summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/multi_source/multi_parallel_loop.inc
blob: bf692b28ede7886e3d81e6938b32200fd504c64e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#create a table,insert data and drop table

#parameters
#  loop_counter
#  table_engine
--echo ##Running CURD operation
--disable_query_log
while ($loop_counter)
{
  #DDL statement
  --eval create table t1(a int primary key) engine=$table_engine;

  #non trans update statement
  insert into t1 values(1);
  insert into t1 values(2);
  drop table t1;
  --dec $loop_counter
}
--enable_query_log