Commit e5ae26c7 authored by unknown's avatar unknown
Browse files

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
parent 07d6a199
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -407,12 +407,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);
}