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
a6c9ebba
Commit
a6c9ebba
authored
Sep 08, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected printouts in backup test
parent
3979938c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
ndb/src/kernel/blocks/backup/Backup.hpp
ndb/src/kernel/blocks/backup/Backup.hpp
+1
-1
ndb/test/src/NdbBackup.cpp
ndb/test/src/NdbBackup.cpp
+6
-3
No files found.
ndb/src/kernel/blocks/backup/Backup.hpp
View file @
a6c9ebba
...
@@ -596,7 +596,7 @@ public:
...
@@ -596,7 +596,7 @@ public:
bool
insertFileHeader
(
BackupFormat
::
FileType
,
BackupRecord
*
,
BackupFile
*
);
bool
insertFileHeader
(
BackupFormat
::
FileType
,
BackupRecord
*
,
BackupFile
*
);
void
sendBackupRef
(
Signal
*
signal
,
BackupRecordPtr
ptr
,
Uint32
errorCode
);
void
sendBackupRef
(
Signal
*
signal
,
BackupRecordPtr
ptr
,
Uint32
errorCode
);
void
sendBackupRef
(
BlockReference
ref
,
Signal
*
signal
,
void
sendBackupRef
(
BlockReference
ref
,
Uint32
flags
,
Signal
*
signal
,
Uint32
senderData
,
Uint32
errorCode
);
Uint32
senderData
,
Uint32
errorCode
);
void
dumpUsedResources
();
void
dumpUsedResources
();
void
cleanup
(
Signal
*
,
BackupRecordPtr
ptr
);
void
cleanup
(
Signal
*
,
BackupRecordPtr
ptr
);
...
...
ndb/test/src/NdbBackup.cpp
View file @
a6c9ebba
...
@@ -50,14 +50,17 @@ NdbBackup::start(unsigned int & _backup_id){
...
@@ -50,14 +50,17 @@ NdbBackup::start(unsigned int & _backup_id){
2
,
// wait until completed
2
,
// wait until completed
&
_backup_id
,
&
_backup_id
,
&
reply
)
==
-
1
)
{
&
reply
)
==
-
1
)
{
g_err
<<
"Could not start backup "
<<
endl
;
g_err
<<
"Error: "
<<
ndb_mgm_get_latest_error
(
handle
)
<<
endl
;
g_err
<<
"Error: "
<<
reply
.
message
<<
endl
;
g_err
<<
"Error msg: "
<<
ndb_mgm_get_latest_error_msg
(
handle
)
<<
endl
;
g_err
<<
"Error desc: "
<<
ndb_mgm_get_latest_error_desc
(
handle
)
<<
endl
;
return
-
1
;
return
-
1
;
}
}
if
(
reply
.
return_code
!=
0
){
if
(
reply
.
return_code
!=
0
){
g_err
<<
"PLEASE CHECK CODE NdbBackup.cpp line="
<<
__LINE__
<<
endl
;
g_err
<<
"PLEASE CHECK CODE NdbBackup.cpp line="
<<
__LINE__
<<
endl
;
g_err
<<
"Error: "
<<
reply
.
message
<<
endl
;
g_err
<<
"Error: "
<<
ndb_mgm_get_latest_error
(
handle
)
<<
endl
;
g_err
<<
"Error msg: "
<<
ndb_mgm_get_latest_error_msg
(
handle
)
<<
endl
;
g_err
<<
"Error desc: "
<<
ndb_mgm_get_latest_error_desc
(
handle
)
<<
endl
;
return
reply
.
return_code
;
return
reply
.
return_code
;
}
}
return
0
;
return
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