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
273557c1
Commit
273557c1
authored
Sep 26, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dict_index_t::remove_instant(): Reset n_core_null_bytes
parent
f13fafe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
storage/innobase/include/dict0mem.h
storage/innobase/include/dict0mem.h
+4
-0
No files found.
storage/innobase/include/dict0mem.h
View file @
273557c1
...
@@ -1071,10 +1071,14 @@ struct dict_index_t{
...
@@ -1071,10 +1071,14 @@ struct dict_index_t{
void
remove_instant
()
void
remove_instant
()
{
{
DBUG_ASSERT
(
is_clust
());
DBUG_ASSERT
(
is_clust
());
if
(
!
is_instant
())
{
return
;
}
for
(
unsigned
i
=
n_core_fields
;
i
<
n_fields
;
i
++
)
{
for
(
unsigned
i
=
n_core_fields
;
i
<
n_fields
;
i
++
)
{
fields
[
i
].
col
->
remove_instant
();
fields
[
i
].
col
->
remove_instant
();
}
}
n_core_fields
=
n_fields
;
n_core_fields
=
n_fields
;
n_core_null_bytes
=
UT_BITS_IN_BYTES
(
n_nullable
);
}
}
/** Check whether two indexes have the same metadata.
/** Check whether two indexes have the same metadata.
...
...
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