mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
ndb dd -
fix dirty page handling during opt.nr
This commit is contained in:
parent
76b666e299
commit
7641844f9f
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue