Commit 1568be58 authored by unknown's avatar unknown
Browse files

btr0sea.c:

  Add diagnostic code to track a crash in adaptive hash indexes; the crash may happen if block->index == NULL


innobase/btr/btr0sea.c:
  Add diagnostic code to track a crash in adaptive hash indexes; the crash may happen if block->index == NULL
parent 9e9d610d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -964,6 +964,13 @@ btr_search_drop_page_hash_index(
	heap = NULL;
	offsets = NULL;

	if (block->index == NULL) {

		mem_analyze_corruption((byte*)block);

		ut_a(block->index != NULL);
	}

	while (!page_rec_is_supremum(rec)) {
		/* FIXME: in a mixed tree, not all records may have enough
		ordering fields: */