mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
ndb - post merge fixes
storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp: merge storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp: merge
This commit is contained in:
parent
1c8547f256
commit
a586bb61c0
2 changed files with 1 additions and 5 deletions
|
@ -1026,8 +1026,6 @@ Dbtup::disk_page_alloc(Signal* signal,
|
|||
Disk_alloc_info& alloc= fragPtrP->m_disk_alloc_info;
|
||||
|
||||
Uint64 lsn;
|
||||
Uint32 old_free = pagePtr.p->free_space;
|
||||
Uint32 old_bits= alloc.calc_page_free_bits(old_free);
|
||||
if (tabPtrP->m_attributes[DD].m_no_of_varsize == 0)
|
||||
{
|
||||
ddassert(pagePtr.p->uncommitted_used_space > 0);
|
||||
|
@ -1059,7 +1057,6 @@ Dbtup::disk_page_free(Signal *signal,
|
|||
Uint32 logfile_group_id= fragPtrP->m_logfile_group_id;
|
||||
Disk_alloc_info& alloc= fragPtrP->m_disk_alloc_info;
|
||||
Uint32 old_free= pagePtr.p->free_space;
|
||||
Uint32 old_bits= alloc.calc_page_free_bits(old_free);
|
||||
|
||||
Uint32 sz;
|
||||
Uint64 lsn;
|
||||
|
@ -1086,7 +1083,6 @@ Dbtup::disk_page_free(Signal *signal,
|
|||
}
|
||||
|
||||
Uint32 new_free = pagePtr.p->free_space;
|
||||
Uint32 new_bits = alloc.calc_page_free_bits(new_free);
|
||||
|
||||
Uint32 ext = pagePtr.p->m_extent_info_ptr;
|
||||
Uint32 used = pagePtr.p->uncommitted_used_space;
|
||||
|
|
|
@ -967,7 +967,7 @@ void Dbtup::releaseFragment(Signal* signal, Uint32 tableId,
|
|||
cb.m_callbackFunction =
|
||||
safe_cast(&Dbtup::drop_table_log_buffer_callback);
|
||||
Uint32 sz= sizeof(Disk_undo::Drop) >> 2;
|
||||
(void) c_lgman->alloc_log_space(logfile_group_id, sz);
|
||||
int r0 = c_lgman->alloc_log_space(logfile_group_id, sz);
|
||||
if (r0)
|
||||
{
|
||||
jam();
|
||||
|
|
Loading…
Add table
Reference in a new issue