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
39ac2c01
Commit
39ac2c01
authored
Mar 02, 2005
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Variable 'k' declared at both loop and function level caused compiler failures -
use function-wide declaration also for loop body.
parent
b9ae89a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+1
-1
No files found.
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
39ac2c01
...
@@ -6443,7 +6443,7 @@ Dbdict::createIndex_toCreateTable(Signal* signal, OpCreateIndexPtr opPtr)
...
@@ -6443,7 +6443,7 @@ Dbdict::createIndex_toCreateTable(Signal* signal, OpCreateIndexPtr opPtr)
// write index key attributes
// write index key attributes
AttributeRecordPtr
aRecPtr
;
AttributeRecordPtr
aRecPtr
;
c_attributeRecordPool
.
getPtr
(
aRecPtr
,
tablePtr
.
p
->
firstAttribute
);
c_attributeRecordPool
.
getPtr
(
aRecPtr
,
tablePtr
.
p
->
firstAttribute
);
for
(
unsigned
k
=
0
;
k
<
opPtr
.
p
->
m_attrList
.
sz
;
k
++
)
{
for
(
k
=
0
;
k
<
opPtr
.
p
->
m_attrList
.
sz
;
k
++
)
{
// insert the attributes in the order decided above in attrid_map
// insert the attributes in the order decided above in attrid_map
// k is new order, current_id is in previous order
// k is new order, current_id is in previous order
// ToDo: make sure "current_id" is stored with the table and
// ToDo: make sure "current_id" is stored with the table and
...
...
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