diff options
Diffstat (limited to 'include/myisam.h')
-rw-r--r-- | include/myisam.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/myisam.h b/include/myisam.h index 2285f996464..ed4f4aff8fe 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -38,7 +38,7 @@ extern "C" { /* The following defines can be increased if necessary */ #define MI_MAX_KEY 32 /* Max allowed keys */ #define MI_MAX_KEY_SEG 16 /* Max segments for key */ -#define MI_MAX_KEY_LENGTH 500 +#define MI_MAX_KEY_LENGTH 1000 #define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH+MI_MAX_KEY_SEG*6+8+8) #define MI_MAX_POSSIBLE_KEY_BUFF (1024+6+6) /* For myisam_chk */ @@ -93,7 +93,7 @@ typedef struct st_mi_isaminfo /* Struct from h_info */ typedef struct st_mi_create_info { - char *index_file_name, *data_file_name; /* If using symlinks */ + const char *index_file_name, *data_file_name; /* If using symlinks */ ha_rows max_rows; ha_rows reloc_rows; ulonglong auto_increment; |