summaryrefslogtreecommitdiff
path: root/innobase/page/page0page.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/page/page0page.c')
-rw-r--r--innobase/page/page0page.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/innobase/page/page0page.c b/innobase/page/page0page.c
index f3f6776bf13..af1ccb92016 100644
--- a/innobase/page/page0page.c
+++ b/innobase/page/page0page.c
@@ -406,12 +406,6 @@ page_create(
rec_set_next_offs(infimum_rec, (ulint)(supremum_rec - page));
rec_set_next_offs(supremum_rec, 0);
-
- if (page_template == NULL) {
- page_template = mem_alloc(UNIV_PAGE_SIZE);
-
- ut_memcpy(page_template, page, UNIV_PAGE_SIZE);
- }
return(page);
}