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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
861431e1
Commit
861431e1
authored
Jun 28, 2023
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup!
056c83cc
parent
dd50121b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
storage/innobase/handler/handler0alter.cc
storage/innobase/handler/handler0alter.cc
+7
-0
storage/innobase/include/dict0mem.h
storage/innobase/include/dict0mem.h
+2
-2
No files found.
storage/innobase/handler/handler0alter.cc
View file @
861431e1
...
@@ -10200,7 +10200,14 @@ commit_try_rebuild(
...
@@ -10200,7 +10200,14 @@ commit_try_rebuild(
"parent" table. */
"parent" table. */
if
(
!
user_table
->
space
)
{
if
(
!
user_table
->
space
)
{
rebuilt_table
->
file_unreadable
=
true
;
rebuilt_table
->
file_unreadable
=
true
;
#if defined __GNUC__ && !defined __clang__ && __GNUC__ < 12
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wconversion"
/* GCC 5 to 11 need this */
#endif
rebuilt_table
->
flags2
|=
DICT_TF2_DISCARDED
;
rebuilt_table
->
flags2
|=
DICT_TF2_DISCARDED
;
#if defined __GNUC__ && !defined __clang__ && __GNUC__ < 12
# pragma GCC diagnostic pop
/* ignored "-Wconversion" */
#endif
}
}
/* We can now rename the old table as a temporary table,
/* We can now rename the old table as a temporary table,
...
...
storage/innobase/include/dict0mem.h
View file @
861431e1
...
@@ -264,8 +264,8 @@ use its own tablespace instead of the system tablespace. */
...
@@ -264,8 +264,8 @@ use its own tablespace instead of the system tablespace. */
#define DICT_TF2_USE_FILE_PER_TABLE 16U
#define DICT_TF2_USE_FILE_PER_TABLE 16U
/** Set when we discard/detach the tablespace */
/** Set when we discard/detach the tablespace */
#define DICT_TF2_POS_DISCARDED 5
constexpr
unsigned
DICT_TF2_POS_DISCARDED
=
5
;
#define DICT_TF2_DISCARDED (1U << DICT_TF2_POS_DISCARDED)
constexpr
unsigned
DICT_TF2_DISCARDED
=
1U
<<
DICT_TF2_POS_DISCARDED
;
/** This bit is set if all aux table names (both common tables and
/** This bit is set if all aux table names (both common tables and
index tables) of a FTS table are in HEX format. */
index tables) of a FTS table are in HEX format. */
...
...
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