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
0f5522c4
Commit
0f5522c4
authored
Jun 18, 2014
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV#6316: (post-fix) Using C-style comments in mysqldump.
parent
1fbb7055
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
client/mysqldump.c
client/mysqldump.c
+4
-4
No files found.
client/mysqldump.c
View file @
0f5522c4
...
...
@@ -4821,7 +4821,7 @@ static int wsrep_add_sst_mode_cmds(MYSQL *mysql) {
MYSQL_ROW
row
;
if
(
mysql_get_server_version
(
mysql
)
<
100005
)
{
/
/ @@gtid_binlog_state does not exist.
/
* @@gtid_binlog_state does not exist. */
return
0
;
}
...
...
@@ -4830,16 +4830,16 @@ static int wsrep_add_sst_mode_cmds(MYSQL *mysql) {
return
1
;
if
(
mysql_num_rows
(
res
)
!=
1
)
/
/ No entry for @@global.gtid_binlog_state, nothing needs to be done.
/
* No entry for @@global.gtid_binlog_state, nothing needs to be done. */
return
0
;
if
(
!
(
row
=
mysql_fetch_row
(
res
))
||
!
(
char
*
)
row
[
0
])
return
1
;
/
/ first, add a command to turn off binary logging,
/
* first, add a command to turn off binary logging, */
fprintf
(
md_result_file
,
"SET @@session.sql_log_bin=OFF;
\n
"
);
/
/ followed by, a command to set global gtid_binlog_state.
/
* followed by, a command to set global gtid_binlog_state. */
fprintf
(
md_result_file
,
"SET @@global.gtid_binlog_state='%s';
\n
"
,
(
char
*
)
row
[
0
]);
...
...
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