1
0
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:
Sergei Golubchik
2010-04-30 12:12:25 +02:00
parent da138f02db
commit b58cb7c4a2
6 changed files with 48 additions and 25 deletions

View File

@ -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;
}
}