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
418a8656
Commit
418a8656
authored
Mar 09, 2006
by
lars@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to not replicate mysql.event table
Test fixes
parent
cf5589a8
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
65 deletions
+70
-65
mysql-test/r/binlog_stm_ctype_cp932.result
mysql-test/r/binlog_stm_ctype_cp932.result
+1
-0
mysql-test/r/rpl_switch_stm_row_mixed.result
mysql-test/r/rpl_switch_stm_row_mixed.result
+62
-64
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-0
mysql-test/t/rpl_switch_stm_row_mixed.test
mysql-test/t/rpl_switch_stm_row_mixed.test
+2
-0
sql/handler.cc
sql/handler.cc
+4
-1
No files found.
mysql-test/r/binlog_stm_ctype_cp932.result
View file @
418a8656
...
...
@@ -11352,3 +11352,4 @@ col1
a
a
a
drop table t1;
mysql-test/r/rpl_switch_stm_row_mixed.result
View file @
418a8656
This diff is collapsed.
Click to expand it.
mysql-test/t/disabled.def
View file @
418a8656
...
...
@@ -42,3 +42,4 @@ rpl_sp : Bug#16456
rpl_until : Unstable test case, bug#15886
sp-goto : GOTO is currently is disabled - will be fixed in the future
rpl_ndb_multi_update2 : BUG#17738 In progress
rpl_rbr_to_sbr : BUG#18108
mysql-test/t/rpl_switch_stm_row_mixed.test
View file @
418a8656
...
...
@@ -147,6 +147,8 @@ select * from t1 where a="alarm";
# and now compare:
--
replace_column
2
# 5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/
show
binlog
events
from
102
;
sync_slave_with_master
;
# as we're using UUID we don't SELECT but use "diff" like in rpl_row_UUID
...
...
sql/handler.cc
View file @
418a8656
...
...
@@ -3142,6 +3142,7 @@ bool ha_show_status(THD *thd, handlerton *db_type, enum ha_stat_type stat)
- It is not a temporary table
- The binary log is open
- The database the table resides in shall be binlogged (binlog_*_db rules)
- table is not mysql.event
*/
#ifdef HAVE_ROW_BASED_REPLICATION
...
...
@@ -3156,7 +3157,9 @@ namespace {
thd
&&
(
thd
->
options
&
OPTION_BIN_LOG
)
&&
(
table
->
s
->
tmp_table
==
NO_TMP_TABLE
)
&&
mysql_bin_log
.
is_open
()
&&
binlog_filter
->
db_ok
(
table
->
s
->
db
.
str
);
binlog_filter
->
db_ok
(
table
->
s
->
db
.
str
)
&&
(
strcmp
(
table
->
s
->
db
.
str
,
"mysql"
)
||
strcmp
(
table
->
s
->
table_name
.
str
,
"event"
));
}
}
...
...
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