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
2e45630d
Commit
2e45630d
authored
Aug 15, 2006
by
lzhou/root@dev3-138.dev.cn.tlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#21052 Modify error message when backup is aborted
parent
be56063f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+1
-1
ndb/src/mgmsrv/Services.cpp
ndb/src/mgmsrv/Services.cpp
+7
-0
ndb/src/ndbapi/ndberror.c
ndb/src/ndbapi/ndberror.c
+1
-1
No files found.
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
2e45630d
...
@@ -2159,7 +2159,7 @@ CommandInterpreter::executeStartBackup(char* parameters)
...
@@ -2159,7 +2159,7 @@ CommandInterpreter::executeStartBackup(char* parameters)
}
}
if
(
result
!=
0
)
{
if
(
result
!=
0
)
{
ndbout
<<
"
Start of b
ackup failed"
<<
endl
;
ndbout
<<
"
B
ackup failed"
<<
endl
;
printError
();
printError
();
#if 0
#if 0
close(fd);
close(fd);
...
...
ndb/src/mgmsrv/Services.cpp
View file @
2e45630d
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include "../mgmapi/ndb_logevent.hpp"
#include "../mgmapi/ndb_logevent.hpp"
#include <base64.h>
#include <base64.h>
#include <ndberror.h>
extern
bool
g_StopServer
;
extern
bool
g_StopServer
;
extern
bool
g_RestartServer
;
extern
bool
g_RestartServer
;
...
@@ -1325,6 +1326,12 @@ Ndb_mgmd_event_service::log(int eventType, const Uint32* theData, NodeId nodeId)
...
@@ -1325,6 +1326,12 @@ Ndb_mgmd_event_service::log(int eventType, const Uint32* theData, NodeId nodeId)
if
(
ndb_logevent_body
[
i
].
index_fn
)
if
(
ndb_logevent_body
[
i
].
index_fn
)
val
=
(
*
(
ndb_logevent_body
[
i
].
index_fn
))(
val
);
val
=
(
*
(
ndb_logevent_body
[
i
].
index_fn
))(
val
);
str
.
appfmt
(
"%s=%d
\n
"
,
ndb_logevent_body
[
i
].
token
,
val
);
str
.
appfmt
(
"%s=%d
\n
"
,
ndb_logevent_body
[
i
].
token
,
val
);
if
(
strcmp
(
ndb_logevent_body
[
i
].
token
,
"error"
)
==
0
)
{
int
m_text_len
=
strlen
(
m_text
);
snprintf
(
m_text
+
m_text_len
,
4
,
" - "
);
ndb_error_string
(
theData
[
3
],
m_text
+
(
m_text_len
+
3
),
sizeof
(
m_text
)
-
m_text_len
-
3
);
}
}
}
Vector
<
NDB_SOCKET_TYPE
>
copy
;
Vector
<
NDB_SOCKET_TYPE
>
copy
;
...
...
ndb/src/ndbapi/ndberror.c
View file @
2e45630d
...
@@ -378,7 +378,7 @@ ErrorBundle ErrorCodes[] = {
...
@@ -378,7 +378,7 @@ ErrorBundle ErrorCodes[] = {
{
1305
,
IE
,
"Backup definition not implemented"
},
{
1305
,
IE
,
"Backup definition not implemented"
},
{
1306
,
AE
,
"Backup not supported in diskless mode (change Diskless)"
},
{
1306
,
AE
,
"Backup not supported in diskless mode (change Diskless)"
},
{
1321
,
IE
,
"Backup aborted by application
"
},
{
1321
,
UD
,
"Backup aborted by user request
"
},
{
1322
,
IE
,
"Backup already completed"
},
{
1322
,
IE
,
"Backup already completed"
},
{
1323
,
IE
,
"1323"
},
{
1323
,
IE
,
"1323"
},
{
1324
,
IE
,
"Backup log buffer full"
},
{
1324
,
IE
,
"Backup log buffer full"
},
...
...
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