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
3b41d79f
Commit
3b41d79f
authored
Feb 19, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
75d1d877
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
15 deletions
+2
-15
myisam/rt_key.c
myisam/rt_key.c
+2
-15
No files found.
myisam/rt_key.c
View file @
3b41d79f
...
...
@@ -88,23 +88,10 @@ int rtree_delete_key(MI_INFO *info, uchar *page_buf, uchar *key,
int
rtree_set_key_mbr
(
MI_INFO
*
info
,
MI_KEYDEF
*
keyinfo
,
uchar
*
key
,
uint
key_length
,
my_off_t
child_page
)
{
uchar
*
k
;
uchar
*
last
;
uint
nod_flag
;
if
(
!
_mi_fetch_keypage
(
info
,
keyinfo
,
child_page
,
info
->
buff
,
0
))
goto
err1
;
nod_flag
=
mi_test_if_nod
(
info
->
buff
);
k
=
rt_PAGE_FIRST_KEY
(
info
->
buff
,
nod_flag
);
last
=
rt_PAGE_END
(
info
->
buff
);
rtree_page_mbr
(
info
,
keyinfo
->
seg
,
info
->
buff
,
key
,
key_length
);
return
0
;
return
-
1
;
err1:
return
-
1
;
return
rtree_page_mbr
(
info
,
keyinfo
->
seg
,
info
->
buff
,
key
,
key_length
);
}
...
...
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