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
3ccd6766
Commit
3ccd6766
authored
Jun 10, 2020
by
Julius Goryavsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation error in DCMAKE_BUILD_TYPE=mysql_release mode when WSREP enabled
parent
648b5474
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
sql/debug_sync.h
sql/debug_sync.h
+1
-0
sql/wsrep_high_priority_service.cc
sql/wsrep_high_priority_service.cc
+3
-0
No files found.
sql/debug_sync.h
View file @
3ccd6766
...
...
@@ -49,6 +49,7 @@ extern uchar *debug_sync_value_ptr(THD *thd);
static
inline
void
debug_sync_init_thread
(
THD
*
thd
)
{}
static
inline
void
debug_sync_end_thread
(
THD
*
thd
)
{}
static
inline
void
debug_sync_reset_thread
(
THD
*
thd
)
{}
static
bool
debug_sync_set_action
(
THD
*
thd
,
const
char
*
action_str
,
size_t
len
)
{
return
false
;}
#endif
/* defined(ENABLED_DEBUG_SYNC) */
#endif
/* DEBUG_SYNC_INCLUDED */
sql/wsrep_high_priority_service.cc
View file @
3ccd6766
...
...
@@ -507,6 +507,8 @@ int Wsrep_applier_service::apply_write_set(const wsrep::ws_meta& ws_meta,
DBUG_ASSERT
(
thd
->
wsrep_trx
().
state
()
==
wsrep
::
transaction
::
s_executing
);
thd_proc_info
(
thd
,
"applying write set"
);
#ifdef ENABLED_DEBUG_SYNC
/* moved dbug sync point here, after possible THD switch for SR transactions
has ben done
*/
...
...
@@ -520,6 +522,7 @@ int Wsrep_applier_service::apply_write_set(const wsrep::ws_meta& ws_meta,
DBUG_ASSERT
(
!
debug_sync_set_action
(
thd
,
STRING_WITH_LEN
(
act
)));
};);
#endif
wsrep_setup_uk_and_fk_checks
(
thd
);
int
ret
=
apply_events
(
thd
,
m_rli
,
data
,
err
);
...
...
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