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
57b30811
Commit
57b30811
authored
Nov 22, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: row_ext_create(), row_ext_lookup(): Clarify that the column
numbers are relative to the clustered index record.
parent
404d94b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
include/row0ext.h
include/row0ext.h
+4
-2
include/row0ext.ic
include/row0ext.ic
+4
-2
No files found.
include/row0ext.h
View file @
57b30811
...
@@ -21,7 +21,8 @@ row_ext_create(
...
@@ -21,7 +21,8 @@ row_ext_create(
/*===========*/
/*===========*/
/* out,own: column prefix cache */
/* out,own: column prefix cache */
ulint
n_ext
,
/* in: number of externally stored columns */
ulint
n_ext
,
/* in: number of externally stored columns */
const
ulint
*
ext
,
/* in: col_no's of externally stored columns */
const
ulint
*
ext
,
/* in: col_no's of externally stored columns
in the clustered index record */
ulint
zip_size
,
/* compressed page size, or 0 */
ulint
zip_size
,
/* compressed page size, or 0 */
mem_heap_t
*
heap
);
/* in: heap where created */
mem_heap_t
*
heap
);
/* in: heap where created */
...
@@ -48,7 +49,8 @@ row_ext_lookup(
...
@@ -48,7 +49,8 @@ row_ext_lookup(
/* out: column prefix, or NULL if
/* out: column prefix, or NULL if
the column is not stored externally */
the column is not stored externally */
row_ext_t
*
ext
,
/* in/out: column prefix cache */
row_ext_t
*
ext
,
/* in/out: column prefix cache */
ulint
col
,
/* in: column number */
ulint
col
,
/* in: column number
in the clustered index record */
const
byte
*
field
,
/* in: locally stored part of the column */
const
byte
*
field
,
/* in: locally stored part of the column */
ulint
f_len
,
/* in: length of field, in bytes */
ulint
f_len
,
/* in: length of field, in bytes */
ulint
*
len
);
/* out: length of prefix, in bytes,
ulint
*
len
);
/* out: length of prefix, in bytes,
...
...
include/row0ext.ic
View file @
57b30811
...
@@ -30,7 +30,8 @@ row_ext_create(
...
@@ -30,7 +30,8 @@ row_ext_create(
/*===========*/
/*===========*/
/* out,own: column prefix cache */
/* out,own: column prefix cache */
ulint n_ext, /* in: number of externally stored columns */
ulint n_ext, /* in: number of externally stored columns */
const ulint* ext, /* in: col_no's of externally stored columns */
const ulint* ext, /* in: col_no's of externally stored columns
in the clustered index record */
ulint zip_size,/* compressed page size, or 0 */
ulint zip_size,/* compressed page size, or 0 */
mem_heap_t* heap) /* in: heap where created */
mem_heap_t* heap) /* in: heap where created */
{
{
...
@@ -90,7 +91,8 @@ row_ext_lookup(
...
@@ -90,7 +91,8 @@ row_ext_lookup(
/* out: column prefix, or NULL if
/* out: column prefix, or NULL if
the column is not stored externally */
the column is not stored externally */
row_ext_t* ext, /* in/out: column prefix cache */
row_ext_t* ext, /* in/out: column prefix cache */
ulint col, /* in: column number */
ulint col, /* in: column number
in the clustered index record */
const byte* field, /* in: locally stored part of the column */
const byte* field, /* in: locally stored part of the column */
ulint f_len, /* in: length of field, in bytes */
ulint f_len, /* in: length of field, in bytes */
ulint* len) /* out: length of prefix, in bytes,
ulint* len) /* out: length of prefix, in bytes,
...
...
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