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
36a2a5e2
Commit
36a2a5e2
authored
Oct 24, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove compile warning
parent
f827daf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ndb/src/kernel/blocks/dbutil/DbUtil.cpp
ndb/src/kernel/blocks/dbutil/DbUtil.cpp
+3
-1
No files found.
ndb/src/kernel/blocks/dbutil/DbUtil.cpp
View file @
36a2a5e2
...
...
@@ -1084,7 +1084,7 @@ DbUtil::prepareOperation(Signal* signal, PreparePtr prepPtr)
************************/
DictTabInfo
::
Attribute
attrDesc
;
attrDesc
.
init
();
char
attrName
[
MAX_ATTR_NAME_SIZE
];
Uint32
attrId
;
Uint32
attrId
=
~
(
Uint32
)
0
;
bool
attributeFound
=
false
;
Uint32
noOfKeysFound
=
0
;
// # PK attrs found before attr in DICTdata
Uint32
noOfNonKeysFound
=
0
;
// # nonPK attrs found before attr in DICTdata
...
...
@@ -1094,11 +1094,13 @@ DbUtil::prepareOperation(Signal* signal, PreparePtr prepPtr)
ndbrequire
(
dictInfoReader
.
getKey
()
==
DictTabInfo
::
AttributeName
);
ndbrequire
(
dictInfoReader
.
getValueLen
()
<=
MAX_ATTR_NAME_SIZE
);
dictInfoReader
.
getString
(
attrName
);
attrId
=
~
(
Uint32
)
0
;
// attrId not used
}
else
{
// (tableKey == UtilPrepareReq::TableId)
jam
();
dictInfoReader
.
next
();
// Skip name
ndbrequire
(
dictInfoReader
.
getKey
()
==
DictTabInfo
::
AttributeId
);
attrId
=
dictInfoReader
.
getUint32
();
attrName
[
0
]
=
'\0'
;
// attrName not used
}
unpackStatus
=
SimpleProperties
::
unpack
(
dictInfoReader
,
&
attrDesc
,
DictTabInfo
::
AttributeMapping
,
...
...
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