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
55d284d4
Commit
55d284d4
authored
Dec 18, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B19390-5.0-opt
parents
5b5e0da0
3e61561a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
mysql-test/r/rpl_trigger.result
mysql-test/r/rpl_trigger.result
+8
-4
mysql-test/t/rpl_trigger.test
mysql-test/t/rpl_trigger.test
+8
-4
No files found.
mysql-test/r/rpl_trigger.result
View file @
55d284d4
...
@@ -88,21 +88,25 @@ select a=b && a=c from t1;
...
@@ -88,21 +88,25 @@ select a=b && a=c from t1;
a=b && a=c
a=b && a=c
1
1
SELECT routine_name, definer
SELECT routine_name, definer
FROM information_schema.routines;
FROM information_schema.routines
WHERE routine_name = 'bug12480';
routine_name definer
routine_name definer
bug12480 root@localhost
bug12480 root@localhost
SELECT trigger_name, definer
SELECT trigger_name, definer
FROM information_schema.triggers;
FROM information_schema.triggers
WHERE trigger_name = 't1_first';
trigger_name definer
trigger_name definer
t1_first root@localhost
t1_first root@localhost
--- On slave --
--- On slave --
SELECT routine_name, definer
SELECT routine_name, definer
FROM information_schema.routines;
FROM information_schema.routines
WHERE routine_name = 'bug12480';
routine_name definer
routine_name definer
bug12480 root@localhost
bug12480 root@localhost
SELECT trigger_name, definer
SELECT trigger_name, definer
FROM information_schema.triggers;
FROM information_schema.triggers
WHERE trigger_name = 't1_first';
trigger_name definer
trigger_name definer
t1_first root@localhost
t1_first root@localhost
select a=b && a=c from t1;
select a=b && a=c from t1;
...
...
mysql-test/t/rpl_trigger.test
View file @
55d284d4
...
@@ -93,10 +93,12 @@ let $time=`select a from t1`;
...
@@ -93,10 +93,12 @@ let $time=`select a from t1`;
# - dump definers on the slave;
# - dump definers on the slave;
SELECT
routine_name
,
definer
SELECT
routine_name
,
definer
FROM
information_schema
.
routines
;
FROM
information_schema
.
routines
WHERE
routine_name
=
'bug12480'
;
SELECT
trigger_name
,
definer
SELECT
trigger_name
,
definer
FROM
information_schema
.
triggers
;
FROM
information_schema
.
triggers
WHERE
trigger_name
=
't1_first'
;
save_master_pos
;
save_master_pos
;
connection
slave
;
connection
slave
;
...
@@ -111,10 +113,12 @@ select "--- On slave --" as "";
...
@@ -111,10 +113,12 @@ select "--- On slave --" as "";
# item.
# item.
SELECT
routine_name
,
definer
SELECT
routine_name
,
definer
FROM
information_schema
.
routines
;
FROM
information_schema
.
routines
WHERE
routine_name
=
'bug12480'
;
SELECT
trigger_name
,
definer
SELECT
trigger_name
,
definer
FROM
information_schema
.
triggers
;
FROM
information_schema
.
triggers
WHERE
trigger_name
=
't1_first'
;
select
a
=
b
&&
a
=
c
from
t1
;
select
a
=
b
&&
a
=
c
from
t1
;
--
disable_query_log
--
disable_query_log
...
...
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