diff options
author | heikki@donna.mysql.fi <> | 2001-08-10 01:12:42 +0300 |
---|---|---|
committer | heikki@donna.mysql.fi <> | 2001-08-10 01:12:42 +0300 |
commit | 70455174f0f1f4e9d0590bccb784ca609b31101f (patch) | |
tree | cbb42c4204c7a9634fd2fca1372d7ce608e76c69 /innobase | |
parent | 251fb37b9f57926686072b6792d5342661f5d2a8 (diff) | |
download | mariadb-git-70455174f0f1f4e9d0590bccb784ca609b31101f.tar.gz |
ibuf0ibuf.c Fix a potential hang in database shutdown (not known if there is such, but let us play safe)
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/ibuf/ibuf0ibuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/innobase/ibuf/ibuf0ibuf.c b/innobase/ibuf/ibuf0ibuf.c index 3db20fb13ee..fd7b415551f 100644 --- a/innobase/ibuf/ibuf0ibuf.c +++ b/innobase/ibuf/ibuf0ibuf.c @@ -1698,8 +1698,7 @@ loop: btr_pcur_open_at_rnd_pos(data->index, BTR_SEARCH_LEAF, &pcur, &mtr); - if (data->size == 1 - && 0 == page_get_n_recs(btr_pcur_get_page(&pcur))) { + if (0 == page_get_n_recs(btr_pcur_get_page(&pcur))) { /* This tree is empty */ |