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
97ceb61f
Commit
97ceb61f
authored
Mar 07, 2007
by
tomas@poseidon.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected manual merge
parent
bd49cdd2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
storage/ndb/tools/restore/restore_main.cpp
storage/ndb/tools/restore/restore_main.cpp
+6
-4
No files found.
storage/ndb/tools/restore/restore_main.cpp
View file @
97ceb61f
...
@@ -350,6 +350,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
...
@@ -350,6 +350,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
to nodegroup in new cluster.
to nodegroup in new cluster.
*/
*/
opt_nodegroup_map_len
=
0
;
opt_nodegroup_map_len
=
0
;
info
.
setLevel
(
254
);
info
<<
"Analyse node group map"
<<
endl
;
info
<<
"Analyse node group map"
<<
endl
;
if
(
analyse_nodegroup_map
(
opt_nodegroup_map_str
,
if
(
analyse_nodegroup_map
(
opt_nodegroup_map_str
,
&
opt_nodegroup_map
[
0
]))
&
opt_nodegroup_map
[
0
]))
...
@@ -404,7 +406,7 @@ o verify nodegroup mapping
...
@@ -404,7 +406,7 @@ o verify nodegroup mapping
exit(NDBT_ProgramExit(NDBT_WRONGARGS));
exit(NDBT_ProgramExit(NDBT_WRONGARGS));
#endif
#endif
BackupPrinter
*
g_printer
=
new
BackupPrinter
(
opt_nodegroup_map
,
g_printer
=
new
BackupPrinter
(
opt_nodegroup_map
,
opt_nodegroup_map_len
);
opt_nodegroup_map_len
);
if
(
g_printer
==
NULL
)
if
(
g_printer
==
NULL
)
return
false
;
return
false
;
...
@@ -785,10 +787,10 @@ main(int argc, char** argv)
...
@@ -785,10 +787,10 @@ main(int argc, char** argv)
}
}
}
else
{
}
else
{
for
(
Uint32
j
=
0
;
j
<
g_consumers
.
size
();
j
++
)
for
(
Uint32
j
=
0
;
j
<
g_consumers
.
size
();
j
++
)
if
(
!
g_consumers
[
j
]
->
createSystable
(
*
metaData
[
i
]
))
if
(
!
g_consumers
[
j
]
->
createSystable
(
*
table
))
{
{
err
<<
"Restore: Failed to restore system table: "
;
err
<<
"Restore: Failed to restore system table: "
;
err
<<
metaData
[
i
]
->
getTableName
()
<<
" ... Exiting "
<<
endl
;
err
<<
table
->
getTableName
()
<<
" ... Exiting "
<<
endl
;
exitHandler
(
NDBT_FAILED
);
exitHandler
(
NDBT_FAILED
);
}
}
}
}
...
...
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