diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-06-07 10:25:56 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-06-07 10:25:56 +0300 |
commit | 233962b8b7e9c7636629ca4e5fcdb6efd75a9aea (patch) | |
tree | 5f0c26f196e80c0493fa221f46611fcd5b68ea7d /innobase | |
parent | 557aae79311282c59dc4f5cd929d98dd58da40db (diff) | |
download | mariadb-git-233962b8b7e9c7636629ca4e5fcdb6efd75a9aea.tar.gz |
page0page.c:
Fix a bug: a race condition could cause that the first B-tree page splits would get a corrupt page directory, whic often results in the assertion in page_dir_find_slot(); found with a test of 3000 startups/shutdowns; it is not clear that this would have caused any corruption which users have reported
innobase/page/page0page.c:
Fix a bug: a race condition could cause that the first B-tree page splits would get a corrupt page directory, whic often results in the assertion in page_dir_find_slot(); found with a test of 3000 startups/shutdowns; it is not clear that this would have caused any corruption which users have reported
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/page/page0page.c | 6 |
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); } |