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
7641844f
Commit
7641844f
authored
Apr 26, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb dd -
fix dirty page handling during opt.nr
parent
76b666e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
+2
-1
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
View file @
7641844f
...
@@ -3130,6 +3130,7 @@ Dbtup::nr_delete(Signal* signal, Uint32 senderData,
...
@@ -3130,6 +3130,7 @@ Dbtup::nr_delete(Signal* signal, Uint32 senderData,
}
}
PagePtr
disk_page
=
*
(
PagePtr
*
)
&
m_pgman
.
m_ptr
;
PagePtr
disk_page
=
*
(
PagePtr
*
)
&
m_pgman
.
m_ptr
;
disk_page_set_dirty
(
disk_page
);
preq
.
m_callback
.
m_callbackFunction
=
preq
.
m_callback
.
m_callbackFunction
=
safe_cast
(
&
Dbtup
::
nr_delete_logbuffer_callback
);
safe_cast
(
&
Dbtup
::
nr_delete_logbuffer_callback
);
...
@@ -3164,7 +3165,7 @@ Dbtup::nr_delete_page_callback(Signal* signal,
...
@@ -3164,7 +3165,7 @@ Dbtup::nr_delete_page_callback(Signal* signal,
Ptr
<
GlobalPage
>
gpage
;
Ptr
<
GlobalPage
>
gpage
;
m_global_page_pool
.
getPtr
(
gpage
,
page_id
);
m_global_page_pool
.
getPtr
(
gpage
,
page_id
);
PagePtr
pagePtr
=
*
(
PagePtr
*
)
&
gpage
;
PagePtr
pagePtr
=
*
(
PagePtr
*
)
&
gpage
;
disk_page_set_dirty
(
pagePtr
);
Dblqh
::
Nr_op_info
op
;
Dblqh
::
Nr_op_info
op
;
op
.
m_ptr_i
=
userpointer
;
op
.
m_ptr_i
=
userpointer
;
op
.
m_disk_ref
.
m_page_no
=
pagePtr
.
p
->
m_page_no
;
op
.
m_disk_ref
.
m_page_no
=
pagePtr
.
p
->
m_page_no
;
...
...
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