Commit 8ce20712 authored by unknown's avatar unknown
Browse files

dict0load.c:

  dict_load_table(): Do not complain about mix_len != 0,
  because MySQL 3.23.4x left garbage in that column.


innobase/dict/dict0load.c:
  dict_load_table(): Do not complain about mix_len != 0,
  because MySQL 3.23.4x left garbage in that column.
parent 4e8c5c19
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -729,7 +729,6 @@ dict_load_table(
	ulint		space;
	ulint		n_cols;
	ulint		err;
	ulint		mix_len;
	mtr_t		mtr;
	
#ifdef UNIV_SYNC_DEBUG
@@ -776,22 +775,6 @@ dict_load_table(
		return(NULL);
	}

	/* Track a corruption bug reported on the MySQL mailing list Jan 14,
	2005: mix_len had a value different from 0 */

	field = rec_get_nth_field(rec, 7, &len);
	ut_a(len == 4);

	mix_len = mach_read_from_4(field);

	if (mix_len != 0) {
		ut_print_timestamp(stderr);
		
		fprintf(stderr,
			"  InnoDB: table %s has a nonsensical mix len %lu\n",
			name, (ulong)mix_len);
	}

	ut_a(0 == ut_strcmp("SPACE",
		dict_field_get_col(
		dict_index_get_nth_field(