summaryrefslogtreecommitdiff
path: root/storage/innobase/gis/gis0rtree.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-11-11 13:26:19 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-11-11 14:14:20 +0200
commit3621df70cac09c43a36a0e64faa5222ccb06d2a1 (patch)
tree4481510cc28d95bf331c5b283400b52391575d17 /storage/innobase/gis/gis0rtree.cc
parent29d67d051a3f6b252c0ab3c3720e6467e4f9a7d6 (diff)
downloadmariadb-git-3621df70cac09c43a36a0e64faa5222ccb06d2a1.tar.gz
MDEV-21024: Clean up rtr_adjust_upper_level()
Remove the unnecessary retrieval and null-modifications of the preceding page.
Diffstat (limited to 'storage/innobase/gis/gis0rtree.cc')
-rw-r--r--storage/innobase/gis/gis0rtree.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/innobase/gis/gis0rtree.cc b/storage/innobase/gis/gis0rtree.cc
index dde8f92a54b..a9c30ae2a38 100644
--- a/storage/innobase/gis/gis0rtree.cc
+++ b/storage/innobase/gis/gis0rtree.cc
@@ -750,7 +750,6 @@ rtr_adjust_upper_level(
mem_heap_free(heap);
- /* Get the previous and next pages of page */
const uint32_t next_page_no = btr_page_get_next(page);
if (next_page_no != FIL_NULL) {