summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-03-08 17:08:17 +0200
committerunknown <marko@hundin.mysql.fi>2005-03-08 17:08:17 +0200
commit976543fe847ea2a23612e35bae790658d069b5f2 (patch)
tree052101c4ef4cc8d9fb51b3aa34d65f2d1964b03d
parentc409a646b1180f47c7cec5b43028c5768dcfbfa9 (diff)
downloadmariadb-git-976543fe847ea2a23612e35bae790658d069b5f2.tar.gz
dict0load.c:
dict_load_table(): Remove the check for row_format=compact for now, because the flag bit we used (high-order bit of mix_len) has not been zero for at least two customers. innobase/dict/dict0load.c: dict_load_table(): Remove the check for row_format=compact for now, because the flag bit we used (high-order bit of mix_len) has not been zero for at least two customers.
-rw-r--r--innobase/dict/dict0load.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/innobase/dict/dict0load.c b/innobase/dict/dict0load.c
index 0bbf0511b57..a4637e09d07 100644
--- a/innobase/dict/dict0load.c
+++ b/innobase/dict/dict0load.c
@@ -647,22 +647,6 @@ dict_load_table(
return(NULL);
}
-#if MYSQL_VERSION_ID < 50300
- /* Starting from MySQL 5.0.3, the high-order bit of MIX_LEN is the
- "compact format" flag. */
- field = rec_get_nth_field(rec, 7, &len);
- if (mach_read_from_1(field) & 0x80) {
- btr_pcur_close(&pcur);
- mtr_commit(&mtr);
- mem_heap_free(heap);
- ut_print_timestamp(stderr);
- fprintf(stderr,
- " InnoDB: table %s is in the new compact format\n"
- "InnoDB: of MySQL 5.0.3 or later\n", name);
- return(NULL);
- }
-#endif /* MYSQL_VERSION_ID < 50300 */
-
ut_a(0 == ut_strcmp((char *) "SPACE",
dict_field_get_col(
dict_index_get_nth_field(