mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
small changes to WL#43:
consistency: don't use "index" and "key" interchangeably => rename "key" to "index" consistency: all option types are logical, besides ULL => rename ULL to NUMBER don't accept floats where integers are expected accept hexadecimal where integers are expected
This commit is contained in:
@ -5783,7 +5783,7 @@ compare_tables(TABLE *table,
|
||||
|
||||
if ((create_info->fileds_option_struct=
|
||||
(void**)thd->calloc(sizeof(void*) * table->s->fields)) == NULL ||
|
||||
(create_info->keys_option_struct=
|
||||
(create_info->indexes_option_struct=
|
||||
(void**)thd->calloc(sizeof(void*) * table->s->keys)) == NULL)
|
||||
DBUG_RETURN(1);
|
||||
|
||||
@ -5984,7 +5984,7 @@ compare_tables(TABLE *table,
|
||||
else
|
||||
{
|
||||
DBUG_ASSERT(i < table->s->keys);
|
||||
create_info->keys_option_struct[i]= new_key->option_struct;
|
||||
create_info->indexes_option_struct[i]= new_key->option_struct;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user