summaryrefslogtreecommitdiff
path: root/innobase/dict
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-03-08 20:06:09 +0200
committerunknown <marko@hundin.mysql.fi>2005-03-08 20:06:09 +0200
commit8ce2071248784541b08e4f6d05468b4fe5fbeccb (patch)
tree6d1f580274767b9d35ed337cd7873800f65e42fe /innobase/dict
parent4e8c5c1969a3e6bb32c7cdf1e9c3f677fddb6fe9 (diff)
downloadmariadb-git-8ce2071248784541b08e4f6d05468b4fe5fbeccb.tar.gz
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.
Diffstat (limited to 'innobase/dict')
-rw-r--r--innobase/dict/dict0load.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/innobase/dict/dict0load.c b/innobase/dict/dict0load.c
index 26e92afabe0..7297fcadfa5 100644
--- a/innobase/dict/dict0load.c
+++ b/innobase/dict/dict0load.c
@@ -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(