mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
warning when a 4.1 MYI file is opened in 4.0
This commit is contained in:
@ -182,6 +182,9 @@ 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)
|
||||
fprintf(stderr, "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)
|
||||
|
Reference in New Issue
Block a user