diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-01-21 18:16:02 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-01-21 18:16:02 +0200 |
commit | 3cbafff2e039f2916212dd8c2cd63fba410d2e23 (patch) | |
tree | 7125ee2765ee0fbd669fdf7519cf31947c9b3cae /innobase/dict/dict0crea.c | |
parent | 90f94790986ba8c3938b575d8e5592a7a06471db (diff) | |
parent | 6eecb8e4e206db57b3d01c07f0482e86af6b4e12 (diff) | |
download | mariadb-git-3cbafff2e039f2916212dd8c2cd63fba410d2e23.tar.gz |
Merge hundin.mysql.fi:/home/heikki/mysql-4.1
into hundin.mysql.fi:/home/heikki/mysql-5.0
innobase/dict/dict0crea.c:
Auto merged
innobase/dict/dict0dict.c:
Auto merged
innobase/dict/dict0load.c:
Auto merged
innobase/fil/fil0fil.c:
Auto merged
Diffstat (limited to 'innobase/dict/dict0crea.c')
-rw-r--r-- | innobase/dict/dict0crea.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/innobase/dict/dict0crea.c b/innobase/dict/dict0crea.c index 3c496bae5b4..b6f79ad10b4 100644 --- a/innobase/dict/dict0crea.c +++ b/innobase/dict/dict0crea.c @@ -81,6 +81,17 @@ dict_create_sys_tables_tuple( dfield_set_data(dfield, ptr, 8); /* 7: MIX_LEN --------------------------*/ + + /* Track corruption reported on mailing list Jan 14, 2005 */ + if (table->mix_len != 0 && table->mix_len != 0x80000000) { + fprintf(stderr, +"InnoDB: Error: mix_len is %lu in table %s\n", (ulong)table->mix_len, + table->name); + mem_analyze_corruption((byte*)&(table->mix_len)); + + ut_error; + } + dfield = dtuple_get_nth_field(entry, 5); ptr = mem_heap_alloc(heap, 4); |