mariadb/mysql-test/suite/multi_source/multi_parallel_loop.inc

20 lines
394 B
PHP
Raw Normal View History

#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