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
9f413426
Commit
9f413426
authored
Jun 15, 2007
by
tsmith@maint1.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
into maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
parents
664fa012
934ad9e8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
1 deletion
+30
-1
mysql-test/r/rpl_events.result
mysql-test/r/rpl_events.result
+6
-0
mysql-test/t/rpl_events.test
mysql-test/t/rpl_events.test
+23
-0
sql/sql_parse.cc
sql/sql_parse.cc
+1
-1
No files found.
mysql-test/r/rpl_events.result
View file @
9f413426
...
...
@@ -157,3 +157,9 @@ test slave_terminate SLAVESIDE_DISABLED 2
DROP EVENT test.slave_terminate;
"in the master"
DROP TABLE t1;
CREATE EVENT event1 ON SCHEDULE EVERY 1 YEAR
DO BEGIN
select * from t1;
END;|
ALTER EVENT event1 RENAME TO event2;
DROP EVENT event2;
mysql-test/t/rpl_events.test
View file @
9f413426
...
...
@@ -22,3 +22,26 @@ set binlog_format=statement;
# Embedded server doesn't support binlogging
--
source
include
/
rpl_events
.
inc
#
# Bug #28953 Using events in a replication let the slave crash.
#
connection
master
;
DELIMITER
|
;
CREATE
EVENT
event1
ON
SCHEDULE
EVERY
1
YEAR
DO
BEGIN
select
*
from
t1
;
END
;
|
DELIMITER
;
|
ALTER
EVENT
event1
RENAME
TO
event2
;
sync_slave_with_master
;
connection
master
;
DROP
EVENT
event2
;
sync_slave_with_master
;
sql/sql_parse.cc
View file @
9f413426
...
...
@@ -1569,7 +1569,7 @@ bool sp_process_definer(THD *thd)
if
(
lex
->
definer
==
NULL
)
DBUG_RETURN
(
TRUE
);
if
(
thd
->
slave_thread
)
if
(
thd
->
slave_thread
&&
lex
->
sphead
)
lex
->
sphead
->
m_chistics
->
suid
=
SP_IS_NOT_SUID
;
}
else
...
...
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