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
0332acc7
Commit
0332acc7
authored
Aug 04, 2017
by
sjaakola
Committed by
Jan Lindström
Oct 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MW-394
Merged fix for LOAD DATA splitting with log_bin==OFF, from mysql-wsrep-bugs/MW-394
parent
86d31ce9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
sql/sql_class.cc
sql/sql_class.cc
+8
-6
No files found.
sql/sql_class.cc
View file @
0332acc7
...
...
@@ -4297,14 +4297,16 @@ extern "C" int thd_non_transactional_update(const MYSQL_THD thd)
extern
"C"
int
thd_binlog_format
(
const
MYSQL_THD
thd
)
{
#ifdef WITH_WSREP
if
(((
WSREP
(
thd
)
&&
wsrep_emulate_bin_log
)
||
mysql_bin_log
.
is_open
())
&&
(
thd
->
variables
.
option_bits
&
OPTION_BIN_LOG
))
#else
if
(
WSREP
(
thd
))
{
/* for wsrep binlog format is meaningful also when binlogging is off */
return
(
int
)
WSREP_BINLOG_FORMAT
(
thd
->
variables
.
binlog_format
);
}
#endif
/* WITH_WSREP */
if
(
mysql_bin_log
.
is_open
()
&&
(
thd
->
variables
.
option_bits
&
OPTION_BIN_LOG
))
#endif
return
(
int
)
WSREP_BINLOG_FORMAT
(
thd
->
variables
.
binlog_format
);
return
(
int
)
thd
->
variables
.
binlog_format
;
else
return
BINLOG_FORMAT_UNSPEC
;
return
BINLOG_FORMAT_UNSPEC
;
}
extern
"C"
void
thd_mark_transaction_to_rollback
(
MYSQL_THD
thd
,
bool
all
)
...
...
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