mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
This patch is to further remove the RAID code. We removed support for people creating tables with RAID. This patch remove most of the source for this.
This commit is contained in:
@ -1222,15 +1222,6 @@ store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
|
||||
packet->append(STRING_WITH_LEN(" CONNECTION="));
|
||||
append_unescaped(packet, share->connect_string.str, share->connect_string.length);
|
||||
}
|
||||
if (file->raid_type)
|
||||
{
|
||||
uint length;
|
||||
length= my_snprintf(buff,sizeof(buff),
|
||||
" RAID_TYPE=%s RAID_CHUNKS=%d RAID_CHUNKSIZE=%ld",
|
||||
my_raid_type(file->raid_type), file->raid_chunks,
|
||||
file->raid_chunksize/RAID_BLOCK_SIZE);
|
||||
packet->append(buff, length);
|
||||
}
|
||||
append_directory(thd, packet, "DATA", create_info.data_file_name);
|
||||
append_directory(thd, packet, "INDEX", create_info.index_file_name);
|
||||
}
|
||||
@ -2577,15 +2568,6 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables,
|
||||
ptr=strxmov(ptr, " row_format=",
|
||||
ha_row_type[(uint) share->row_type],
|
||||
NullS);
|
||||
if (file->raid_type)
|
||||
{
|
||||
char buff[100];
|
||||
my_snprintf(buff,sizeof(buff),
|
||||
" raid_type=%s raid_chunks=%d raid_chunksize=%ld",
|
||||
my_raid_type(file->raid_type), file->raid_chunks,
|
||||
file->raid_chunksize/RAID_BLOCK_SIZE);
|
||||
ptr=strmov(ptr,buff);
|
||||
}
|
||||
table->field[19]->store(option_buff+1,
|
||||
(ptr == option_buff ? 0 :
|
||||
(uint) (ptr-option_buff)-1), cs);
|
||||
|
Reference in New Issue
Block a user