Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
74068dd2
Commit
74068dd2
authored
May 18, 2022
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests for embedded
followup for
c9b5a053
parent
c9b5a053
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
15 deletions
+18
-15
mysql-test/suite/compat/oracle/r/events.result
mysql-test/suite/compat/oracle/r/events.result
+9
-0
mysql-test/suite/compat/oracle/r/sp.result
mysql-test/suite/compat/oracle/r/sp.result
+0
-7
mysql-test/suite/compat/oracle/t/events.test
mysql-test/suite/compat/oracle/t/events.test
+9
-1
mysql-test/suite/compat/oracle/t/sp.test
mysql-test/suite/compat/oracle/t/sp.test
+0
-7
No files found.
mysql-test/suite/compat/oracle/r/events.result
View file @
74068dd2
...
...
@@ -16,3 +16,12 @@ COUNT(*)
1
DROP TABLE t1;
SET GLOBAL event_scheduler=off;
#
# MDEV-28588 SIGSEGV in __memmove_avx_unaligned_erms, strmake_root
#
CREATE EVENT ev ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR DO BEGIN END;
Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
SELECT EVENT_DEFINITION FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='test' AND EVENT_NAME='ev';
EVENT_DEFINITION BEGIN END
DROP EVENT ev;
mysql-test/suite/compat/oracle/r/sp.result
View file @
74068dd2
...
...
@@ -2565,13 +2565,6 @@ DROP PROCEDURE p1;
#
SET sql_mode=ORACLE;
BEGIN END;
SET sql_mode=ORACLE;
CREATE EVENT ev ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR DO BEGIN END;
Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
SELECT EVENT_DEFINITION FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='test' AND EVENT_NAME='ev';
EVENT_DEFINITION BEGIN END
DROP EVENT ev;
CREATE TABLE t1 (a INT);
CREATE TRIGGER tr AFTER INSERT ON t1 FOR EACH ROW BEGIN END;
SELECT ACTION_STATEMENT FROM INFORMATION_SCHEMA.TRIGGERS WHERE TRIGGER_SCHEMA='test' AND TRIGGER_NAME='tr';
...
...
mysql-test/suite/compat/oracle/t/events.test
View file @
74068dd2
...
...
@@ -25,5 +25,13 @@ let $wait_condition =
SELECT
COUNT
(
*
)
FROM
t1
;
DROP
TABLE
t1
;
SET
GLOBAL
event_scheduler
=
off
;
--
echo
#
--
echo
# MDEV-28588 SIGSEGV in __memmove_avx_unaligned_erms, strmake_root
--
echo
#
CREATE
EVENT
ev
ON
SCHEDULE
AT
CURRENT_TIMESTAMP
+
INTERVAL
1
HOUR
DO
BEGIN
END
;
--
vertical_results
SELECT
EVENT_DEFINITION
FROM
INFORMATION_SCHEMA
.
EVENTS
WHERE
EVENT_SCHEMA
=
'test'
AND
EVENT_NAME
=
'ev'
;
--
horizontal_results
DROP
EVENT
ev
;
mysql-test/suite/compat/oracle/t/sp.test
View file @
74068dd2
...
...
@@ -2406,13 +2406,6 @@ DROP PROCEDURE p1;
SET
sql_mode
=
ORACLE
;
BEGIN
END
;
SET
sql_mode
=
ORACLE
;
CREATE
EVENT
ev
ON
SCHEDULE
AT
CURRENT_TIMESTAMP
+
INTERVAL
1
HOUR
DO
BEGIN
END
;
--
vertical_results
SELECT
EVENT_DEFINITION
FROM
INFORMATION_SCHEMA
.
EVENTS
WHERE
EVENT_SCHEMA
=
'test'
AND
EVENT_NAME
=
'ev'
;
--
horizontal_results
DROP
EVENT
ev
;
CREATE
TABLE
t1
(
a
INT
);
CREATE
TRIGGER
tr
AFTER
INSERT
ON
t1
FOR
EACH
ROW
BEGIN
END
;
--
vertical_results
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment