mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
branches/zip: fil0fil.c: Update comments on table->flags as of r6252.
This commit is contained in:
parent
492e9dad8b
commit
91c1b547e1
1 changed files with 12 additions and 7 deletions
|
@ -1098,9 +1098,11 @@ fil_space_create(
|
|||
fil_space_t* space;
|
||||
|
||||
/* The tablespace flags (FSP_SPACE_FLAGS) should be 0 for
|
||||
ROW_FORMAT=COMPACT (table->flags == DICT_TF_COMPACT) and
|
||||
ROW_FORMAT=COMPACT
|
||||
((table->flags & ~(~0 << DICT_TF_BITS)) == DICT_TF_COMPACT) and
|
||||
ROW_FORMAT=REDUNDANT (table->flags == 0). For any other
|
||||
format, the tablespace flags should equal table->flags. */
|
||||
format, the tablespace flags should equal
|
||||
(table->flags & ~(~0 << DICT_TF_BITS)). */
|
||||
ut_a(flags != DICT_TF_COMPACT);
|
||||
ut_a(!(flags & (~0UL << DICT_TF_BITS)));
|
||||
|
||||
|
@ -2584,9 +2586,11 @@ fil_create_new_single_table_tablespace(
|
|||
|
||||
ut_a(size >= FIL_IBD_FILE_INITIAL_SIZE);
|
||||
/* The tablespace flags (FSP_SPACE_FLAGS) should be 0 for
|
||||
ROW_FORMAT=COMPACT (table->flags == DICT_TF_COMPACT) and
|
||||
ROW_FORMAT=COMPACT
|
||||
((table->flags & ~(~0 << DICT_TF_BITS)) == DICT_TF_COMPACT) and
|
||||
ROW_FORMAT=REDUNDANT (table->flags == 0). For any other
|
||||
format, the tablespace flags should equal table->flags. */
|
||||
format, the tablespace flags should equal
|
||||
(table->flags & ~(~0 << DICT_TF_BITS)). */
|
||||
ut_a(flags != DICT_TF_COMPACT);
|
||||
ut_a(!(flags & (~0UL << DICT_TF_BITS)));
|
||||
|
||||
|
@ -2969,10 +2973,11 @@ fil_open_single_table_tablespace(
|
|||
filepath = fil_make_ibd_name(name, FALSE);
|
||||
|
||||
/* The tablespace flags (FSP_SPACE_FLAGS) should be 0 for
|
||||
ROW_FORMAT=COMPACT (table->flags == DICT_TF_COMPACT) and
|
||||
ROW_FORMAT=COMPACT
|
||||
((table->flags & ~(~0 << DICT_TF_BITS)) == DICT_TF_COMPACT) and
|
||||
ROW_FORMAT=REDUNDANT (table->flags == 0). For any other
|
||||
format, the tablespace flags should be equal to
|
||||
table->flags & ~(~0 << DICT_TF_BITS). */
|
||||
format, the tablespace flags should equal
|
||||
(table->flags & ~(~0 << DICT_TF_BITS)). */
|
||||
ut_a(flags != DICT_TF_COMPACT);
|
||||
ut_a(!(flags & (~0UL << DICT_TF_BITS)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue