Skip to content

Commit 74068dd

Browse files
committed
fix tests for embedded
followup for c9b5a05
1 parent c9b5a05 commit 74068dd

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

mysql-test/suite/compat/oracle/r/events.result

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,12 @@ COUNT(*)
1616
1
1717
DROP TABLE t1;
1818
SET GLOBAL event_scheduler=off;
19+
#
20+
# MDEV-28588 SIGSEGV in __memmove_avx_unaligned_erms, strmake_root
21+
#
22+
CREATE EVENT ev ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR DO BEGIN END;
23+
Warnings:
24+
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
25+
SELECT EVENT_DEFINITION FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='test' AND EVENT_NAME='ev';
26+
EVENT_DEFINITION BEGIN END
27+
DROP EVENT ev;

mysql-test/suite/compat/oracle/r/sp.result

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,13 +2565,6 @@ DROP PROCEDURE p1;
25652565
#
25662566
SET sql_mode=ORACLE;
25672567
BEGIN END;
2568-
SET sql_mode=ORACLE;
2569-
CREATE EVENT ev ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR DO BEGIN END;
2570-
Warnings:
2571-
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
2572-
SELECT EVENT_DEFINITION FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='test' AND EVENT_NAME='ev';
2573-
EVENT_DEFINITION BEGIN END
2574-
DROP EVENT ev;
25752568
CREATE TABLE t1 (a INT);
25762569
CREATE TRIGGER tr AFTER INSERT ON t1 FOR EACH ROW BEGIN END;
25772570
SELECT ACTION_STATEMENT FROM INFORMATION_SCHEMA.TRIGGERS WHERE TRIGGER_SCHEMA='test' AND TRIGGER_NAME='tr';

mysql-test/suite/compat/oracle/t/events.test

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,13 @@ let $wait_condition =
2525
SELECT COUNT(*) FROM t1;
2626
DROP TABLE t1;
2727

28-
2928
SET GLOBAL event_scheduler=off;
29+
30+
--echo #
31+
--echo # MDEV-28588 SIGSEGV in __memmove_avx_unaligned_erms, strmake_root
32+
--echo #
33+
CREATE EVENT ev ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR DO BEGIN END;
34+
--vertical_results
35+
SELECT EVENT_DEFINITION FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='test' AND EVENT_NAME='ev';
36+
--horizontal_results
37+
DROP EVENT ev;

mysql-test/suite/compat/oracle/t/sp.test

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2406,13 +2406,6 @@ DROP PROCEDURE p1;
24062406
SET sql_mode=ORACLE;
24072407
BEGIN END;
24082408

2409-
SET sql_mode=ORACLE;
2410-
CREATE EVENT ev ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR DO BEGIN END;
2411-
--vertical_results
2412-
SELECT EVENT_DEFINITION FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='test' AND EVENT_NAME='ev';
2413-
--horizontal_results
2414-
DROP EVENT ev;
2415-
24162409
CREATE TABLE t1 (a INT);
24172410
CREATE TRIGGER tr AFTER INSERT ON t1 FOR EACH ROW BEGIN END;
24182411
--vertical_results

0 commit comments

Comments
 (0)