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
21f9f4f2
Commit
21f9f4f2
authored
Dec 22, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/home/jonas/src/mysql-5.0-ndb
parents
1d32cbb1
a5108fc1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
ndb/include/kernel/signaldata/CreateTable.hpp
ndb/include/kernel/signaldata/CreateTable.hpp
+1
-0
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+9
-0
ndb/src/ndbapi/ndberror.c
ndb/src/ndbapi/ndberror.c
+1
-1
No files found.
ndb/include/kernel/signaldata/CreateTable.hpp
View file @
21f9f4f2
...
...
@@ -86,6 +86,7 @@ public:
NoMoreAttributeRecords
=
708
,
AttributeNameTwice
=
720
,
TableAlreadyExist
=
721
,
InvalidArraySize
=
736
,
ArraySizeTooBig
=
737
,
RecordTooBig
=
738
,
InvalidPrimaryKeySize
=
739
,
...
...
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
21f9f4f2
...
...
@@ -4871,6 +4871,15 @@ void Dbdict::handleTabInfo(SimpleProperties::Reader & it,
nullBits
+=
attrDesc
.
AttributeArraySize
;
}
if
(
attrDesc
.
AttributeArraySize
==
0
)
{
parseP
->
errorCode
=
CreateTableRef
::
InvalidArraySize
;
parseP
->
status
=
status
;
parseP
->
errorKey
=
it
.
getKey
();
parseP
->
errorLine
=
__LINE__
;
return
;
}
recordLength
+=
sz
;
if
(
attrDesc
.
AttributeKeyFlag
){
keyLength
+=
sz
;
...
...
ndb/src/ndbapi/ndberror.c
View file @
21f9f4f2
...
...
@@ -308,7 +308,7 @@ ErrorBundle ErrorCodes[] = {
{
709
,
SE
,
"No such table existed"
},
{
721
,
SE
,
"Table or index with given name already exists"
},
{
723
,
SE
,
"No such table existed"
},
{
736
,
SE
,
"
Wrong attribute
size"
},
{
736
,
SE
,
"
Unsupported array
size"
},
{
737
,
SE
,
"Attribute array size too big"
},
{
738
,
SE
,
"Record too big"
},
{
739
,
SE
,
"Unsupported primary key length"
},
...
...
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