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
2998a012
Commit
2998a012
authored
Aug 21, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: page_zip_dir_insert(): Remove unused parameters index, offsets.
parent
3a27b5c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
include/page0zip.h
include/page0zip.h
+1
-3
page/page0cur.c
page/page0cur.c
+1
-1
page/page0zip.c
page/page0zip.c
+1
-5
No files found.
include/page0zip.h
View file @
2998a012
...
...
@@ -257,9 +257,7 @@ page_zip_dir_insert(
const
byte
*
prev_rec
,
/* in: record after which to insert */
const
byte
*
free_rec
,
/* in: record from which rec was
allocated, or NULL */
byte
*
rec
,
/* in: record to insert */
dict_index_t
*
index
,
/* in: index of rec */
const
ulint
*
offsets
);
/* in: rec_get_offsets(rec) */
byte
*
rec
);
/* in: record to insert */
/**************************************************************************
Shift the dense page directory and the array of BLOB pointers
...
...
page/page0cur.c
View file @
2998a012
...
...
@@ -1051,7 +1051,7 @@ use_heap:
rec_set_heap_no_new
(
insert_rec
,
heap_no
);
if
(
UNIV_LIKELY_NULL
(
page_zip
))
{
page_zip_dir_insert
(
page_zip
,
current_rec
,
free_rec
,
insert_rec
,
index
,
offsets
);
insert_rec
);
}
}
else
{
ut_ad
(
!
page_zip
);
...
...
page/page0zip.c
View file @
2998a012
...
...
@@ -2831,16 +2831,12 @@ page_zip_dir_insert(
const
byte
*
prev_rec
,
/* in: record after which to insert */
const
byte
*
free_rec
,
/* in: record from which rec was
allocated, or NULL */
byte
*
rec
,
/* in: record to insert */
dict_index_t
*
index
,
/* in: index of rec */
const
ulint
*
offsets
)
/* in: rec_get_offsets(rec) */
byte
*
rec
)
/* in: record to insert */
{
ulint
n_dense
;
byte
*
slot_rec
;
byte
*
slot_free
;
ut_ad
(
rec_offs_validate
(
rec
,
index
,
offsets
));
ut_ad
(
rec_offs_comp
(
offsets
));
ut_ad
(
prev_rec
!=
rec
);
ut_ad
(
page_rec_get_next
((
rec_t
*
)
prev_rec
)
==
rec
);
...
...
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