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
7591d4dc
Commit
7591d4dc
authored
Nov 05, 2005
by
tomas@poseidon.ndb.mysql.com[tomas]
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - fix conflicting error codes
parent
c69b4821
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
storage/ndb/include/kernel/signaldata/CreateFragmentation.hpp
...age/ndb/include/kernel/signaldata/CreateFragmentation.hpp
+2
-2
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+2
-2
storage/ndb/test/ndbapi/test_event.cpp
storage/ndb/test/ndbapi/test_event.cpp
+5
-4
No files found.
storage/ndb/include/kernel/signaldata/CreateFragmentation.hpp
View file @
7591d4dc
...
...
@@ -61,8 +61,8 @@ public:
enum
ErrorCode
{
OK
=
0
,
InvalidNodeGroup
=
7
47
,
InvalidFragmentationType
=
7
48
,
InvalidNodeGroup
=
7
71
,
InvalidFragmentationType
=
7
72
,
InvalidPrimaryTable
=
749
};
...
...
storage/ndb/src/ndbapi/ndberror.c
View file @
7591d4dc
...
...
@@ -349,8 +349,8 @@ ErrorBundle ErrorCodes[] = {
{
743
,
HA_WRONG_CREATE_OPTION
,
SE
,
"Unsupported character set in table or index"
},
{
744
,
DMEC
,
SE
,
"Character string is invalid for given character set"
},
{
745
,
HA_WRONG_CREATE_OPTION
,
SE
,
"Distribution key not supported for char attribute (use binary attribute)"
},
{
7
47
,
HA_WRONG_CREATE_OPTION
,
AE
,
"Given NODEGROUP doesn't exist in this cluster"
},
{
7
48
,
HA_WRONG_CREATE_OPTION
,
IE
,
"Given fragmentType doesn't exist"
},
{
7
71
,
HA_WRONG_CREATE_OPTION
,
AE
,
"Given NODEGROUP doesn't exist in this cluster"
},
{
7
72
,
HA_WRONG_CREATE_OPTION
,
IE
,
"Given fragmentType doesn't exist"
},
{
749
,
HA_WRONG_CREATE_OPTION
,
IE
,
"Primary Table in wrong state"
},
{
761
,
DMEC
,
SE
,
"Unable to drop table as backup is in progress"
},
{
762
,
DMEC
,
SE
,
"Unable to alter table as backup is in progress"
},
...
...
storage/ndb/test/ndbapi/test_event.cpp
View file @
7591d4dc
...
...
@@ -462,6 +462,7 @@ int runEventMixedLoad(NDBT_Context* ctx, NDBT_Step* step)
g_err
<<
"FAIL "
<<
__LINE__
<<
endl
;
return
NDBT_FAILED
;
}
if
(
hugoTrans
.
pkDelRecords
(
GETNDB
(
step
),
3
*
records
,
1
,
true
,
1
)
!=
0
){
g_err
<<
"FAIL "
<<
__LINE__
<<
endl
;
return
NDBT_FAILED
;
...
...
@@ -482,14 +483,15 @@ int runEventMixedLoad(NDBT_Context* ctx, NDBT_Step* step)
g_err
<<
"FAIL "
<<
__LINE__
<<
endl
;
return
NDBT_FAILED
;
}
ctx
->
setProperty
(
"LastGCI"
,
hugoTrans
.
m_latest_gci
);
if
(
ctx
->
getPropertyWait
(
"LastGCI"
,
~
(
Uint32
)
0
))
{
g_err
<<
"FAIL "
<<
__LINE__
<<
endl
;
return
NDBT_FAILED
;
}
}
ctx
->
stopTest
();
return
NDBT_OK
;
}
...
...
@@ -519,7 +521,6 @@ int runEventApplier(NDBT_Context* ctx, NDBT_Step* step)
DBUG_ENTER
(
"runEventApplier"
);
int
result
=
NDBT_OK
;
int
loops
=
ctx
->
getNumLoops
();
const
NdbDictionary
::
Table
*
table
=
ctx
->
getTab
();
HugoTransactions
hugoTrans
(
*
table
);
...
...
@@ -557,7 +558,7 @@ int runEventApplier(NDBT_Context* ctx, NDBT_Step* step)
goto
end
;
}
while
(
loops
--
&&
!
ctx
->
isTestStopped
())
while
(
!
ctx
->
isTestStopped
())
{
int
r
;
int
count
=
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