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