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
103643d8
Commit
103643d8
authored
Feb 12, 2014
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed " to ' around connection name (safer)
parent
3474bb04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
client/mysqldump.c
client/mysqldump.c
+3
-3
mysql-test/r/rpl_mysqldump_slave.result
mysql-test/r/rpl_mysqldump_slave.result
+3
-3
No files found.
client/mysqldump.c
View file @
103643d8
...
...
@@ -4805,7 +4805,7 @@ static int do_stop_slave_sql(MYSQL *mysql_con)
{
char
query
[
160
];
if
(
multi_source
)
sprintf
(
query
,
"STOP SLAVE
\"
%.80s
\"
SQL_THREAD"
,
row
[
0
]);
sprintf
(
query
,
"STOP SLAVE
'%.80s'
SQL_THREAD"
,
row
[
0
]);
else
strmov
(
query
,
"STOP SLAVE SQL_THREAD"
);
...
...
@@ -4877,7 +4877,7 @@ static int do_show_slave_status(MYSQL *mysql_con)
"recovery from (the master of this slave)
\n
--
\n\n
"
);
if
(
multi_source
)
fprintf
(
md_result_file
,
"%sCHANGE MASTER
\"
%.80s
\"
TO "
,
fprintf
(
md_result_file
,
"%sCHANGE MASTER
'%.80s'
TO "
,
comment_prefix
,
row
[
0
]);
else
fprintf
(
md_result_file
,
"%sCHANGE MASTER TO "
,
comment_prefix
);
...
...
@@ -4925,7 +4925,7 @@ static int do_start_slave_sql(MYSQL *mysql_con)
{
char
query
[
160
];
if
(
multi_source
)
sprintf
(
query
,
"START SLAVE
\"
%.80s
\"
"
,
row
[
0
]);
sprintf
(
query
,
"START SLAVE
'%.80s'
"
,
row
[
0
]);
else
strmov
(
query
,
"START SLAVE"
);
...
...
mysql-test/r/rpl_mysqldump_slave.result
View file @
103643d8
...
...
@@ -4,11 +4,11 @@ include/master-slave.inc
# New --dump-slave, --apply-slave-statements functionality
#
use test;
CHANGE MASTER
""
TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
CHANGE MASTER
''
TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
STOP ALL SLAVES;
CHANGE MASTER
""
TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
CHANGE MASTER
''
TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
START ALL SLAVES;
STOP ALL SLAVES;
CHANGE MASTER
""
TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT, MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
CHANGE MASTER
''
TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_MYPORT, MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=BINLOG_START;
START ALL SLAVES;
include/rpl_end.inc
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