Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
91c1b547
Commit
91c1b547
authored
14 years ago
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: fil0fil.c: Update comments on table->flags as of r6252.
parent
492e9dad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
fil/fil0fil.c
fil/fil0fil.c
+12
-7
No files found.
fil/fil0fil.c
View file @
91c1b547
...
@@ -1098,9 +1098,11 @@ fil_space_create(
...
@@ -1098,9 +1098,11 @@ fil_space_create(
fil_space_t
*
space
;
fil_space_t
*
space
;
/* The tablespace flags (FSP_SPACE_FLAGS) should be 0 for
/* 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
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
!=
DICT_TF_COMPACT
);
ut_a
(
!
(
flags
&
(
~
0UL
<<
DICT_TF_BITS
)));
ut_a
(
!
(
flags
&
(
~
0UL
<<
DICT_TF_BITS
)));
...
@@ -2584,9 +2586,11 @@ fil_create_new_single_table_tablespace(
...
@@ -2584,9 +2586,11 @@ fil_create_new_single_table_tablespace(
ut_a
(
size
>=
FIL_IBD_FILE_INITIAL_SIZE
);
ut_a
(
size
>=
FIL_IBD_FILE_INITIAL_SIZE
);
/* The tablespace flags (FSP_SPACE_FLAGS) should be 0 for
/* 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
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
!=
DICT_TF_COMPACT
);
ut_a
(
!
(
flags
&
(
~
0UL
<<
DICT_TF_BITS
)));
ut_a
(
!
(
flags
&
(
~
0UL
<<
DICT_TF_BITS
)));
...
@@ -2969,10 +2973,11 @@ fil_open_single_table_tablespace(
...
@@ -2969,10 +2973,11 @@ fil_open_single_table_tablespace(
filepath
=
fil_make_ibd_name
(
name
,
FALSE
);
filepath
=
fil_make_ibd_name
(
name
,
FALSE
);
/* The tablespace flags (FSP_SPACE_FLAGS) should be 0 for
/* 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
ROW_FORMAT=REDUNDANT (table->flags == 0). For any other
format, the tablespace flags should
be equal to
format, the tablespace flags should
equal
table->flags & ~(~0 << DICT_TF_BITS
). */
(table->flags & ~(~0 << DICT_TF_BITS)
). */
ut_a
(
flags
!=
DICT_TF_COMPACT
);
ut_a
(
flags
!=
DICT_TF_COMPACT
);
ut_a
(
!
(
flags
&
(
~
0UL
<<
DICT_TF_BITS
)));
ut_a
(
!
(
flags
&
(
~
0UL
<<
DICT_TF_BITS
)));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment