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
cb7563b0
Commit
cb7563b0
authored
Nov 23, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small bug fix for ndb restarter
parent
2e63f22a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ndb/test/src/NdbBackup.cpp
ndb/test/src/NdbBackup.cpp
+3
-2
ndb/test/src/NdbRestarter.cpp
ndb/test/src/NdbRestarter.cpp
+1
-1
No files found.
ndb/test/src/NdbBackup.cpp
View file @
cb7563b0
...
...
@@ -146,13 +146,14 @@ NdbBackup::execRestore(bool _restore_data,
ndbout
<<
"scp res: "
<<
res
<<
endl
;
BaseString
::
snprintf
(
buf
,
255
,
"%sndb_restore -c
\"
%s
\"
-n %d -b %d %s %s ."
,
BaseString
::
snprintf
(
buf
,
255
,
"%sndb_restore -c
\"
%s
:%d
\"
-n %d -b %d %s %s ."
,
#if 1
""
,
#else
"valgrind --leak-check=yes -v "
#endif
addr
.
c_str
(),
ndb_mgm_get_connected_host
(
handle
),
ndb_mgm_get_connected_port
(
handle
),
_node_id
,
_backup_id
,
_restore_data
?
"-r"
:
""
,
...
...
ndb/test/src/NdbRestarter.cpp
View file @
cb7563b0
...
...
@@ -36,7 +36,7 @@ NdbRestarter::NdbRestarter(const char* _addr):
m_config
(
0
)
{
if
(
_addr
==
NULL
){
addr
.
assign
(
"
localhost
"
);
addr
.
assign
(
""
);
}
else
{
addr
.
assign
(
_addr
);
}
...
...
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