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
3c771815
Commit
3c771815
authored
Dec 17, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.4 into 10.5
parents
c24253d0
67e063eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
4 deletions
+18
-4
sql/wsrep_high_priority_service.cc
sql/wsrep_high_priority_service.cc
+8
-0
sql/wsrep_high_priority_service.h
sql/wsrep_high_priority_service.h
+8
-0
sql/wsrep_mysqld.cc
sql/wsrep_mysqld.cc
+1
-3
wsrep-lib
wsrep-lib
+1
-1
No files found.
sql/wsrep_high_priority_service.cc
View file @
3c771815
...
...
@@ -527,6 +527,14 @@ int Wsrep_applier_service::apply_write_set(const wsrep::ws_meta& ws_meta,
DBUG_RETURN
(
ret
);
}
int
Wsrep_applier_service
::
apply_nbo_begin
(
const
wsrep
::
ws_meta
&
ws_meta
,
const
wsrep
::
const_buffer
&
data
,
wsrep
::
mutable_buffer
&
err
)
{
DBUG_ENTER
(
"Wsrep_applier_service::apply_nbo_begin"
);
DBUG_RETURN
(
0
);
}
void
Wsrep_applier_service
::
after_apply
()
{
DBUG_ENTER
(
"Wsrep_applier_service::after_apply"
);
...
...
sql/wsrep_high_priority_service.h
View file @
3c771815
...
...
@@ -85,6 +85,8 @@ class Wsrep_applier_service : public Wsrep_high_priority_service
~
Wsrep_applier_service
();
int
apply_write_set
(
const
wsrep
::
ws_meta
&
,
const
wsrep
::
const_buffer
&
,
wsrep
::
mutable_buffer
&
);
int
apply_nbo_begin
(
const
wsrep
::
ws_meta
&
,
const
wsrep
::
const_buffer
&
data
,
wsrep
::
mutable_buffer
&
err
);
void
after_apply
();
bool
is_replaying
()
const
{
return
false
;
}
bool
check_exit_status
()
const
;
...
...
@@ -97,6 +99,12 @@ class Wsrep_replayer_service : public Wsrep_high_priority_service
~
Wsrep_replayer_service
();
int
apply_write_set
(
const
wsrep
::
ws_meta
&
,
const
wsrep
::
const_buffer
&
,
wsrep
::
mutable_buffer
&
);
int
apply_nbo_begin
(
const
wsrep
::
ws_meta
&
,
const
wsrep
::
const_buffer
&
data
,
wsrep
::
mutable_buffer
&
err
)
{
DBUG_ASSERT
(
0
);
/* DDL should never cause replaying */
return
0
;
}
void
after_apply
()
{
}
bool
is_replaying
()
const
{
return
true
;
}
void
replay_status
(
enum
wsrep
::
provider
::
status
status
)
...
...
sql/wsrep_mysqld.cc
View file @
3c771815
...
...
@@ -1888,9 +1888,7 @@ static int wsrep_TOI_begin(THD *thd, const char *db, const char *table,
wsrep
::
client_state
&
cs
(
thd
->
wsrep_cs
());
int
ret
=
cs
.
enter_toi_local
(
key_array
,
wsrep
::
const_buffer
(
buff
.
ptr
,
buff
.
len
),
wsrep
::
provider
::
flag
::
start_transaction
|
wsrep
::
provider
::
flag
::
commit
);
wsrep
::
const_buffer
(
buff
.
ptr
,
buff
.
len
));
if
(
ret
)
{
...
...
wsrep-lib
@
90157ed1
Subproject commit 9
b25cebdf11e6da25d83e513a2e4b6db0515abad
Subproject commit 9
0157ed1b0f8b3f0d1eb3d60ac93ce6d8da7ad77
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