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
a5c2dd5e
Commit
a5c2dd5e
authored
Oct 03, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dict_table_t::read_metadata_blob(): Remove (unused)
parent
80aefe16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
39 deletions
+0
-39
storage/innobase/dict/dict0mem.cc
storage/innobase/dict/dict0mem.cc
+0
-28
storage/innobase/include/dict0mem.h
storage/innobase/include/dict0mem.h
+0
-11
No files found.
storage/innobase/dict/dict0mem.cc
View file @
a5c2dd5e
...
...
@@ -1504,34 +1504,6 @@ void dict_table_t::instant_column(const dict_table_t& table, const ulint* map)
}
}
/** Read the metadata blob and fill the non primary fields,
non-drop nullable fields and fill the drop columns in the vector.
@param[in] blob_data blob data which contains
drop column information
@param[out] non_pk_fields number of non-primary key fields
@param[out] dropped_col_list dropped column list */
void
dict_table_t
::
read_metadata_blob
(
byte
*
blob_data
,
ulint
*
non_pk_fields
,
std
::
vector
<
ulint
>&
dropped_col_list
)
{
*
non_pk_fields
=
mach_read_from_4
(
blob_data
);
const
byte
*
field_data
=
blob_data
+
INSTANT_NON_PK_FIELDS_LEN
;
for
(
ulint
i
=
0
;
i
<
*
non_pk_fields
;
i
++
)
{
unsigned
col_no
=
mach_read_from_2
(
field_data
);
col_no
>>=
INSTANT_FIELD_COL_NO_SHIFT
;
if
(
col_no
==
0
)
{
dropped_col_list
.
push_back
(
i
);
}
field_data
+=
INSTANT_FIELD_LEN
;
}
}
/** Construct the blob with contains the non-primary key for
the clustered index.
@param[in,out] heap memory heap to allocate the blob
...
...
storage/innobase/include/dict0mem.h
View file @
a5c2dd5e
...
...
@@ -1590,17 +1590,6 @@ struct dict_table_t {
return
n_drop_cols
;
}
/** Read the metadata blob and fill the non primary fields,
non-drop nullable fields and fill the drop columns in the
vector.
@param[in] blob_data blob data which contains
drop column information
@param[out] non_pk_fields number of non-primary key fields
@param[out] dropped_col_list dropped column list */
void
read_metadata_blob
(
byte
*
blob_data
,
ulint
*
non_pk_fields
,
std
::
vector
<
ulint
>&
dropped_col_list
);
/** Construct the blob with contains the non-primary key for
the clustered index.
...
...
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