mysql-test/suite/multi_source/multi_parallel_loop.inc
raw| 1 | #create a table,insert data and drop table |
| 2 | |
| 3 | #parameters |
| 4 | # loop_counter |
| 5 | # table_engine |
| 6 | --echo ##Running CURD operation |
| 7 | --disable_query_log |
| 8 | while ($loop_counter) |
| 9 | { |
| 10 | #DDL statement |
| 11 | --eval create table t1(a int primary key) engine=$table_engine; |
| 12 | |
| 13 | #non trans update statement |
| 14 | insert into t1 values(1); |
| 15 | insert into t1 values(2); |
| 16 | drop table t1; |
| 17 | --dec $loop_counter |
| 18 | } |
| 19 | --enable_query_log |