diff options
author | serg@serg.mylan <> | 2003-06-16 19:07:48 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2003-06-16 19:07:48 +0200 |
commit | 9b3dccd662590e9e525d936f80e4a936c2ad5308 (patch) | |
tree | 39ac1e2ea1ad4c1fa4e623ef1e676fb4a118d2b6 /myisam/mi_open.c | |
parent | 54a5e17dbd3d118d8be0f65b1d1fd67d48498076 (diff) | |
download | mariadb-git-9b3dccd662590e9e525d936f80e4a936c2ad5308.tar.gz |
reverting Monty's "fix" that turned a warning into an error.
Diffstat (limited to 'myisam/mi_open.c')
-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) |