Files
MaxScale/maxscale-system-test/fw2/pass4
Markus Mäkelä a4975edbba MXS-1389: Fix rule reloading and query parsing requirements
Reloading of rules now properly uses the current rule file if no argument
was provided. The rule version counter also used atomic operations for the
sake of correctness.

The rule parsing is now only required for DML type statements that should
be fully parsed.
2017-09-08 09:31:38 +03:00

9 lines
270 B
Plaintext

drop table if exists test.t1;
create table test.t1(id int);
drop function if exists my_function;
create function my_function (arg int) returns int deterministic return arg * arg;
select "sum(1)";
select (1);
select * from(select 1) as a;
insert into test.t1 values (1);