mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
using const char * as the output of strrchr to make solaris compiler happy.
This commit is contained in:
parent
375afff3bd
commit
cc90212fc9
1 changed files with 1 additions and 1 deletions
|
@ -1780,7 +1780,7 @@ void ha_partition::set_up_table_before_create(TABLE *table,
|
|||
return; // Fatal error
|
||||
table->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,
|
||||
|
|
Loading…
Add table
Reference in a new issue