mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
ndb - Fix disk scan (backup)
(introduced by only updating extent pages after pageout) storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp: Fix disk scan (backup)
This commit is contained in:
parent
f401993dc8
commit
14634a4937
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ Dbtup::scanNext(Signal* signal, ScanOpPtr scanPtr)
|
|||
uncommitted = committed = ~(unsigned)0;
|
||||
int ret = tsman.get_page_free_bits(&key, &uncommitted, &committed);
|
||||
ndbrequire(ret == 0);
|
||||
if (committed == 0) {
|
||||
if (committed == 0 && uncommitted == 0) {
|
||||
// skip empty page
|
||||
jam();
|
||||
pos.m_get = ScanPos::Get_next_page_dd;
|
||||
|
|
Loading…
Add table
Reference in a new issue