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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
69e2b725
Commit
69e2b725
authored
Jun 05, 2007
by
skozlov/ksm@mysql.com/virtop.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#3694, fix for events
parent
7965816f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
mysql-test/r/rpl_invoked_features.result
mysql-test/r/rpl_invoked_features.result
+5
-0
mysql-test/t/rpl_invoked_features.test
mysql-test/t/rpl_invoked_features.test
+5
-0
No files found.
mysql-test/r/rpl_invoked_features.result
View file @
69e2b725
...
...
@@ -11,6 +11,8 @@ DROP PROCEDURE IF EXISTS p1;
DROP PROCEDURE IF EXISTS p11;
DROP FUNCTION IF EXISTS f1;
DROP FUNCTION IF EXISTS f2;
DROP EVENT IF EXISTS e1;
DROP EVENT IF EXISTS e11;
CREATE TABLE t1 (a INT NOT NULL PRIMARY KEY, b INT, c VARCHAR(64)) ENGINE=myisam;
INSERT INTO t1 VALUES (1,1,'1');
...
...
@@ -108,6 +110,7 @@ INSERT INTO t11 VALUES(7,7,f2(7));
INSERT INTO t11 VALUES (103,103,'');
SET GLOBAL EVENT_SCHEDULER = on;
SET GLOBAL EVENT_SCHEDULER = off;
SHOW TABLES LIKE 't%';
Tables_in_test (t%)
...
...
@@ -444,3 +447,5 @@ DROP PROCEDURE IF EXISTS p1;
DROP PROCEDURE IF EXISTS p11;
DROP FUNCTION IF EXISTS f1;
DROP FUNCTION IF EXISTS f2;
DROP EVENT IF EXISTS e1;
DROP EVENT IF EXISTS e11;
mysql-test/t/rpl_invoked_features.test
View file @
69e2b725
...
...
@@ -32,6 +32,8 @@ DROP PROCEDURE IF EXISTS p1;
DROP
PROCEDURE
IF
EXISTS
p11
;
DROP
FUNCTION
IF
EXISTS
f1
;
DROP
FUNCTION
IF
EXISTS
f2
;
DROP
EVENT
IF
EXISTS
e1
;
DROP
EVENT
IF
EXISTS
e11
;
--
enable_warnings
...
...
@@ -178,6 +180,7 @@ INSERT INTO t11 VALUES (103,103,'');
SET
GLOBAL
EVENT_SCHEDULER
=
on
;
# Wait 2 sec while events will executed
--
sleep
2
SET
GLOBAL
EVENT_SCHEDULER
=
off
;
# Check original objects
--
echo
...
...
@@ -270,6 +273,8 @@ DROP PROCEDURE IF EXISTS p1;
DROP
PROCEDURE
IF
EXISTS
p11
;
DROP
FUNCTION
IF
EXISTS
f1
;
DROP
FUNCTION
IF
EXISTS
f2
;
DROP
EVENT
IF
EXISTS
e1
;
DROP
EVENT
IF
EXISTS
e11
;
--
enable_warnings
--
sync_slave_with_master
slave
...
...
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