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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
821abeee
Commit
821abeee
authored
Sep 07, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #11313 confusing/erroneous 4006 message
parent
c626f660
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+1
-1
storage/ndb/src/ndbapi/Ndb.cpp
storage/ndb/src/ndbapi/Ndb.cpp
+3
-2
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+1
-0
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
821abeee
...
...
@@ -3082,7 +3082,7 @@ ndbcluster_handle_drop_table(Ndb *ndb, const char *event_name,
/* ToDo; handle error? */
if
(
share
&&
share
->
op
&&
share
->
op
->
getState
()
==
NdbEventOperation
::
EO_EXECUTING
&&
dict
->
getNdbError
().
code
!=
4009
)
dict
->
getNdbError
().
mysql_code
!=
HA_ERR_NO_CONNECTION
)
{
DBUG_ASSERT
(
FALSE
);
DBUG_RETURN
(
-
1
);
...
...
storage/ndb/src/ndbapi/Ndb.cpp
View file @
821abeee
...
...
@@ -202,9 +202,10 @@ Ndb::NDB_connect(Uint32 tNode)
DBUG_PRINT
(
"info"
,
(
"unsuccessful connect tReturnCode %d, tNdbCon->Status() %d"
,
tReturnCode
,
tNdbCon
->
Status
()));
if
(
theError
.
code
==
299
)
if
(
theError
.
code
==
299
||
// single user mode
theError
.
code
==
281
)
// cluster shutdown in progress
{
//
single user mode so
no need to retry with other node
// no need to retry with other node
DBUG_RETURN
(
-
1
);
}
DBUG_RETURN
(
3
);
...
...
storage/ndb/src/ndbapi/ndberror.c
View file @
821abeee
...
...
@@ -290,6 +290,7 @@ ErrorBundle ErrorCodes[] = {
/**
* Application error
*/
{
281
,
HA_ERR_NO_CONNECTION
,
AE
,
"Operation not allowed due to cluster shutdown in progress"
},
{
299
,
DMEC
,
AE
,
"Operation not allowed or aborted due to single user mode"
},
{
763
,
DMEC
,
AE
,
"Alter table requires cluster nodes to have exact same version"
},
{
823
,
DMEC
,
AE
,
"Too much attrinfo from application in tuple manager"
},
...
...
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