Skip to content

Commit 1827d9e

Browse files
committed
MDEV-5231: Per query variables from Percona Server (rewritten)
1 parent a03dd94 commit 1827d9e

29 files changed

+2681
-61
lines changed

mysql-test/r/events_bugs.result

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,13 @@ drop event events_test.mysqltest_user1;
218218
drop user mysqltest_user1@localhost;
219219
drop database mysqltest_db1;
220220
create event e_53 on schedule at (select s1 from ttx) do drop table t;
221-
ERROR 42000: This version of MariaDB doesn't yet support 'Usage of subqueries or stored function calls as part of this statement'
221+
ERROR 42000: CREATE/ALTER EVENT does not support subqueries or stored functions.
222222
create event e_53 on schedule every (select s1 from ttx) second do drop table t;
223-
ERROR 42000: This version of MariaDB doesn't yet support 'Usage of subqueries or stored function calls as part of this statement'
223+
ERROR 42000: CREATE/ALTER EVENT does not support subqueries or stored functions.
224224
create event e_53 on schedule every 5 second starts (select s1 from ttx) do drop table t;
225-
ERROR 42000: This version of MariaDB doesn't yet support 'Usage of subqueries or stored function calls as part of this statement'
225+
ERROR 42000: CREATE/ALTER EVENT does not support subqueries or stored functions.
226226
create event e_53 on schedule every 5 second ends (select s1 from ttx) do drop table t;
227-
ERROR 42000: This version of MariaDB doesn't yet support 'Usage of subqueries or stored function calls as part of this statement'
227+
ERROR 42000: CREATE/ALTER EVENT does not support subqueries or stored functions.
228228
drop event if exists e_16;
229229
drop procedure if exists p_16;
230230
create event e_16 on schedule every 1 second do set @a=5;
@@ -265,7 +265,7 @@ begin
265265
call p22830_wait();
266266
select 123;
267267
end|
268-
ERROR 42000: This version of MariaDB doesn't yet support 'Usage of subqueries or stored function calls as part of this statement'
268+
ERROR 42000: CREATE/ALTER EVENT does not support subqueries or stored functions.
269269
create event e22830_1 on schedule every 1 hour do
270270
begin
271271
call p22830_wait();

mysql-test/r/kill.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SELECT 4;
2424
4
2525
4
2626
KILL (SELECT COUNT(*) FROM mysql.user);
27-
ERROR 42000: This version of MariaDB doesn't yet support 'Usage of subqueries or stored function calls as part of this statement'
27+
ERROR 42000: KILL does not support subqueries or stored functions.
2828
SET DEBUG_SYNC= 'thread_end SIGNAL con1_end';
2929
SET DEBUG_SYNC= 'before_do_command_net_read SIGNAL con1_read WAIT_FOR kill';
3030
SET DEBUG_SYNC= 'now WAIT_FOR con1_read';

0 commit comments

Comments
 (0)