diff --git a/VC++Files/client/mysqlslap.vcproj b/VC++Files/client/mysqlslap.vcproj index 581a852b170..ff0d9a437ed 100644 --- a/VC++Files/client/mysqlslap.vcproj +++ b/VC++Files/client/mysqlslap.vcproj @@ -162,7 +162,7 @@ Name="VCCustomBuildTool"/> s->max_rows= part_elem->part_max_rows; table->s->min_rows= part_elem->part_min_rows; - char *partition_name= strrchr(partition_name_with_path, FN_LIBCHAR); + const char *partition_name= strrchr(partition_name_with_path, FN_LIBCHAR); if (part_elem->index_file_name) append_file_to_dir(current_thd, (const char**)&part_elem->index_file_name,