
maxscale-system-test changed in order to control test environment by itself. Every test checks which machines are running, compare with list of needed machines and start new VMs is they are missing in the running machines list. Tests are executiong MDBCI commands, MDBCI executable should be in the PATH
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
#pragma once
|
|
|
|
const char* bug670_sql
|
|
=
|
|
"set autocommit=0;\
|
|
use mysql;\
|
|
set autocommit=1;\
|
|
use test;\
|
|
set autocommit=0;\
|
|
use mysql;\
|
|
set autocommit=1;\
|
|
select user,host from user;\
|
|
set autocommit=0;\
|
|
use fakedb;\
|
|
use test;\
|
|
use mysql;\
|
|
use dontuse;\
|
|
use mysql;\
|
|
drop table if exists t1;\
|
|
commit;\
|
|
use test;\
|
|
use mysql;\
|
|
set autocommit=1;\
|
|
create table t1(id integer primary key);\
|
|
insert into t1 values(5);\
|
|
use test;\
|
|
use mysql;\
|
|
select user from user;\
|
|
set autocommit=0;\
|
|
set autocommit=1;\
|
|
set autocommit=0;\
|
|
insert into mysql.t1 values(7);\
|
|
use mysql;\
|
|
rollback work;\
|
|
commit;\
|
|
delete from mysql.t1 where id=7;\
|
|
insert into mysql.t1 values(7);\
|
|
select host,user from mysql.user;\
|
|
set autocommit=1;\
|
|
delete from mysql.t1 where id = 7; \
|
|
select 1 as \"endof cycle\" from dual;\n";
|