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
475d288e
Commit
475d288e
authored
Mar 28, 2003
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix: should check _mi_write_keypage() return value.
parent
17176c83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
myisam/rt_split.c
myisam/rt_split.c
+1
-4
No files found.
myisam/rt_split.c
View file @
475d288e
...
@@ -331,13 +331,10 @@ int rtree_split_page(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page, uchar *key,
...
@@ -331,13 +331,10 @@ int rtree_split_page(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page, uchar *key,
mi_putint
(
new_page
,
2
+
n2
*
full_length
,
nod_flag
);
mi_putint
(
new_page
,
2
+
n2
*
full_length
,
nod_flag
);
*
new_page_offs
=
_mi_new
(
info
,
keyinfo
);
*
new_page_offs
=
_mi_new
(
info
,
keyinfo
);
_mi_write_keypage
(
info
,
keyinfo
,
*
new_page_offs
,
new_page
);
err_code
=
_mi_write_keypage
(
info
,
keyinfo
,
*
new_page_offs
,
new_page
);
my_afree
((
byte
*
)
new_page
);
my_afree
((
byte
*
)
new_page
);
split_err:
split_err:
my_afree
((
byte
*
)
coord_buf
);
my_afree
((
byte
*
)
coord_buf
);
return
err_code
;
return
err_code
;
}
}
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