diff options
author | unknown <serg@serg.mylan> | 2003-06-16 19:07:48 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-06-16 19:07:48 +0200 |
commit | e85ecbc101879476c8f76f4be62019c0f70437b1 (patch) | |
tree | 39ac1e2ea1ad4c1fa4e623ef1e676fb4a118d2b6 /myisam | |
parent | 3286e4e1aee4168a0b32b052b3781e80fa75b923 (diff) | |
download | mariadb-git-e85ecbc101879476c8f76f4be62019c0f70437b1.tar.gz |
reverting Monty's "fix" that turned a warning into an error.
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_open.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index 99b97db3fbd..59fae36ac33 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -188,11 +188,8 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) share->state_diff_length=len-MI_STATE_INFO_SIZE; if (share->state.header.fulltext_keys) - { - /* Not supported in this version */ - my_errno= HA_ERR_UNSUPPORTED; - goto err; - } + fprintf(stderr, "Warning: table file %s was created in MySQL 4.1+, use REPAIR TABLE ... USE_FRM to recreate it as a valid MySQL 4.0 table\n", name_buff); + mi_state_info_read(disk_cache, &share->state); len= mi_uint2korr(share->state.header.base_info_length); if (len != MI_BASE_INFO_SIZE) |