mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
refs #48, have ft_flush_some_child still do a flush if the child is a leaf node, so garbage collection happens
This commit is contained in:
parent
fcbaec38c8
commit
6e12defeb0
1 changed files with 1 additions and 1 deletions
|
@ -1651,7 +1651,7 @@ static void ft_flush_some_child(
|
|||
//VERIFY_NODE(brt, child);
|
||||
|
||||
// only do the following work if there is a flush to perform
|
||||
if (toku_bnc_n_entries(BNC(parent, childnum)) > 0) {
|
||||
if (toku_bnc_n_entries(BNC(parent, childnum)) > 0 || parent->height == 1) {
|
||||
if (!parent->dirty) {
|
||||
dirtied++;
|
||||
parent->dirty = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue