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
b4556894
Commit
b4556894
authored
Nov 21, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#24331
Make sure LCP scan record is correct initialized
parent
9e0be467
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
+1
-0
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
+5
-2
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
View file @
b4556894
...
...
@@ -329,6 +329,7 @@ void Dbtup::execREAD_CONFIG_REQ(Signal* signal)
ScanOpPtr
lcp
;
ndbrequire
(
c_scanOpPool
.
seize
(
lcp
));
new
(
lcp
.
p
)
ScanOp
();
c_lcp_scan_op
=
lcp
.
i
;
czero
=
0
;
...
...
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp
View file @
b4556894
...
...
@@ -87,6 +87,7 @@ Dbtup::execACC_SCANREQ(Signal* signal)
ndbrequire
(
frag
.
m_lcp_scan_op
==
c_lcp_scan_op
);
c_scanOpPool
.
getPtr
(
scanPtr
,
frag
.
m_lcp_scan_op
);
ndbrequire
(
scanPtr
.
p
->
m_fragPtrI
==
fragPtr
.
i
);
bits
|=
ScanOp
::
SCAN_LCP
;
if
(
tablePtr
.
p
->
m_attributes
[
MM
].
m_no_of_varsize
>
0
)
{
bits
|=
ScanOp
::
SCAN_VS
;
...
...
@@ -1038,6 +1039,7 @@ Dbtup::releaseScanOp(ScanOpPtr& scanPtr)
{
ndbrequire
(
fragPtr
.
p
->
m_lcp_scan_op
==
scanPtr
.
i
);
fragPtr
.
p
->
m_lcp_scan_op
=
RNIL
;
scanPtr
.
p
->
m_fragPtrI
=
RNIL
;
}
}
...
...
@@ -1064,8 +1066,9 @@ Dbtup::execLCP_FRAG_ORD(Signal* signal)
frag
.
m_lcp_scan_op
=
c_lcp_scan_op
;
ScanOpPtr
scanPtr
;
c_scanOpPool
.
getPtr
(
scanPtr
,
frag
.
m_lcp_scan_op
);
//ndbrequire(scanPtr.p->m_fragPtrI == fragPtr.i); ?
ndbrequire
(
scanPtr
.
p
->
m_fragPtrI
==
RNIL
);
scanPtr
.
p
->
m_fragPtrI
=
fragPtr
.
i
;
scanFirst
(
signal
,
scanPtr
);
scanPtr
.
p
->
m_state
=
ScanOp
::
First
;
}
...
...
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