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
0177b8bb
Commit
0177b8bb
authored
Feb 19, 2003
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
e5418e04
Changes
1
Show 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 @
0177b8bb
...
@@ -88,23 +88,10 @@ int rtree_delete_key(MI_INFO *info, uchar *page_buf, uchar *key,
...
@@ -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
,
int
rtree_set_key_mbr
(
MI_INFO
*
info
,
MI_KEYDEF
*
keyinfo
,
uchar
*
key
,
uint
key_length
,
my_off_t
child_page
)
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
))
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
;
err1:
return
-
1
;
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