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
fa585eb4
Commit
fa585eb4
authored
Feb 02, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb dd - fix newly introduced bug in drop table
parent
7fb21680
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
+10
-6
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
View file @
fa585eb4
...
...
@@ -915,13 +915,17 @@ Dbtup::drop_fragment_unmap_pages(Signal *signal,
return
;
}
Uint32
page_id
=
alloc_info
.
m_dirty_pages
[
pos
].
firstItem
;
Ptr
<
GlobalPage
>
page
;
m_global_page_pool
.
getPtr
(
page
,
page_id
);
Ptr
<
Page
>
pagePtr
;
ArrayPool
<
Page
>
*
pool
=
(
ArrayPool
<
Page
>*
)
&
m_global_page_pool
;
{
LocalDLList
<
Page
>
list
(
*
pool
,
alloc_info
.
m_dirty_pages
[
pos
]);
list
.
first
(
pagePtr
);
list
.
remove
(
pagePtr
);
}
Page_cache_client
::
Request
req
;
req
.
m_page
.
m_page_no
=
((
Page
*
)
page
.
p
)
->
m_page_no
;
req
.
m_page
.
m_file_no
=
((
Page
*
)
page
.
p
)
->
m_file_no
;
req
.
m_page
.
m_page_no
=
pagePtr
.
p
->
m_page_no
;
req
.
m_page
.
m_file_no
=
pagePtr
.
p
->
m_file_no
;
req
.
m_callback
.
m_callbackData
=
pos
;
req
.
m_callback
.
m_callbackFunction
=
...
...
@@ -935,7 +939,7 @@ Dbtup::drop_fragment_unmap_pages(Signal *signal,
case
-
1
:
break
;
default:
ndbrequire
(
res
==
page
_id
);
ndbrequire
(
res
==
page
Ptr
.
i
);
drop_fragment_unmap_page_callback
(
signal
,
pos
,
res
);
}
return
;
...
...
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