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
54571ec6
Commit
54571ec6
authored
Jul 15, 2006
by
pekka@orca.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - ndb_restore: print some dd errors at right verbosity
parent
231565c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
storage/ndb/tools/restore/consumer_restore.cpp
storage/ndb/tools/restore/consumer_restore.cpp
+10
-4
No files found.
storage/ndb/tools/restore/consumer_restore.cpp
View file @
54571ec6
...
@@ -485,7 +485,8 @@ BackupRestore::object(Uint32 type, const void * ptr)
...
@@ -485,7 +485,8 @@ BackupRestore::object(Uint32 type, const void * ptr)
if
(
ret
)
if
(
ret
)
{
{
NdbError
errobj
=
dict
->
getNdbError
();
NdbError
errobj
=
dict
->
getNdbError
();
info
<<
"FAILED "
<<
errobj
<<
endl
;
info
<<
"FAILED"
<<
endl
;
err
<<
"Create tablespace failed: "
<<
old
.
getName
()
<<
": "
<<
errobj
<<
endl
;
return
false
;
return
false
;
}
}
info
<<
"done"
<<
endl
;
info
<<
"done"
<<
endl
;
...
@@ -523,7 +524,8 @@ BackupRestore::object(Uint32 type, const void * ptr)
...
@@ -523,7 +524,8 @@ BackupRestore::object(Uint32 type, const void * ptr)
if
(
ret
)
if
(
ret
)
{
{
NdbError
errobj
=
dict
->
getNdbError
();
NdbError
errobj
=
dict
->
getNdbError
();
info
<<
"FAILED"
<<
errobj
<<
endl
;
info
<<
"FAILED"
<<
endl
;
err
<<
"Create logfile group failed: "
<<
old
.
getName
()
<<
": "
<<
errobj
<<
endl
;
return
false
;
return
false
;
}
}
info
<<
"done"
<<
endl
;
info
<<
"done"
<<
endl
;
...
@@ -564,7 +566,9 @@ BackupRestore::object(Uint32 type, const void * ptr)
...
@@ -564,7 +566,9 @@ BackupRestore::object(Uint32 type, const void * ptr)
info
<<
"Creating datafile
\"
"
<<
old
.
getPath
()
<<
"
\"
..."
<<
flush
;
info
<<
"Creating datafile
\"
"
<<
old
.
getPath
()
<<
"
\"
..."
<<
flush
;
if
(
dict
->
createDatafile
(
old
))
if
(
dict
->
createDatafile
(
old
))
{
{
info
<<
"FAILED "
<<
dict
->
getNdbError
()
<<
endl
;
NdbError
errobj
=
dict
->
getNdbError
();
info
<<
"FAILED"
<<
endl
;
err
<<
"Create datafile failed: "
<<
old
.
getPath
()
<<
": "
<<
errobj
<<
endl
;
return
false
;
return
false
;
}
}
info
<<
"done"
<<
endl
;
info
<<
"done"
<<
endl
;
...
@@ -588,7 +592,9 @@ BackupRestore::object(Uint32 type, const void * ptr)
...
@@ -588,7 +592,9 @@ BackupRestore::object(Uint32 type, const void * ptr)
info
<<
"Creating undofile
\"
"
<<
old
.
getPath
()
<<
"
\"
..."
<<
flush
;
info
<<
"Creating undofile
\"
"
<<
old
.
getPath
()
<<
"
\"
..."
<<
flush
;
if
(
dict
->
createUndofile
(
old
))
if
(
dict
->
createUndofile
(
old
))
{
{
info
<<
"FAILED "
<<
dict
->
getNdbError
()
<<
endl
;
NdbError
errobj
=
dict
->
getNdbError
();
info
<<
"FAILED"
<<
endl
;
err
<<
"Create undofile failed: "
<<
old
.
getPath
()
<<
": "
<<
errobj
<<
endl
;
return
false
;
return
false
;
}
}
info
<<
"done"
<<
endl
;
info
<<
"done"
<<
endl
;
...
...
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