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
dacddf51
Commit
dacddf51
authored
Aug 27, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle drop ordered index with table id > pool size
parent
23159226
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
+16
-0
No files found.
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp
View file @
dacddf51
...
...
@@ -287,6 +287,22 @@ Dbtux::execDROP_TAB_REQ(Signal* signal)
const
DropTabReq
reqCopy
=
*
(
const
DropTabReq
*
)
signal
->
getDataPtr
();
const
DropTabReq
*
const
req
=
&
reqCopy
;
IndexPtr
indexPtr
;
Uint32
tableId
=
req
->
tableId
;
Uint32
senderRef
=
req
->
senderRef
;
Uint32
senderData
=
req
->
senderData
;
if
(
tableId
>=
c_indexPool
.
getSize
())
{
jam
();
// reply to sender
DropTabConf
*
const
conf
=
(
DropTabConf
*
)
signal
->
getDataPtrSend
();
conf
->
senderRef
=
reference
();
conf
->
senderData
=
senderData
;
conf
->
tableId
=
tableId
;
sendSignal
(
senderRef
,
GSN_DROP_TAB_CONF
,
signal
,
DropTabConf
::
SignalLength
,
JBB
);
return
;
}
c_indexPool
.
getPtr
(
indexPtr
,
req
->
tableId
);
// drop works regardless of index state
#ifdef VM_TRACE
...
...
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