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
9dda6cb0
Commit
9dda6cb0
authored
8 years ago
by
Daniele Sciascia
Committed by
Sachin Setiya
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MW-313 Enforce wsrep_max_ws_rows also when binlog is enabled
parent
395c420f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
sql/handler.cc
sql/handler.cc
+9
-7
No files found.
sql/handler.cc
View file @
9dda6cb0
...
...
@@ -5933,16 +5933,18 @@ static int binlog_log_row(TABLE* table,
THD
*
const
thd
=
table
->
in_use
;
#ifdef WITH_WSREP
if
(
WSREP_EMULATE_BINLOG
(
thd
))
/* only InnoDB tables will be replicated through binlog emulation */
if
(
WSREP_EMULATE_BINLOG
(
thd
)
&&
table
->
file
->
ht
->
db_type
!=
DB_TYPE_INNODB
&&
!
(
table
->
file
->
ht
->
db_type
==
DB_TYPE_PARTITION_DB
&&
(((
ha_partition
*
)(
table
->
file
))
->
wsrep_db_type
()
==
DB_TYPE_INNODB
)))
{
/* only InnoDB tables will be replicated through binlog emulation */
if
(
table
->
file
->
ht
->
db_type
!=
DB_TYPE_INNODB
&&
!
(
table
->
file
->
ht
->
db_type
==
DB_TYPE_PARTITION_DB
&&
(((
ha_partition
*
)(
table
->
file
))
->
wsrep_db_type
()
==
DB_TYPE_INNODB
)))
{
return
0
;
}
}
/* enforce wsrep_max_ws_rows */
if
(
table
->
s
->
tmp_table
==
NO_TMP_TABLE
)
{
thd
->
wsrep_affected_rows
++
;
if
(
wsrep_max_ws_rows
&&
thd
->
wsrep_exec_mode
!=
REPL_RECV
&&
...
...
This diff is collapsed.
Click to expand it.
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