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
88012698
Commit
88012698
authored
Jul 04, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not crash on myrg_rprev/myrg_rnext if no current table
(as when previous myrg_rkey failed, e.g. found nothing)
parent
af68d3de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
myisammrg/myrg_rnext.c
myisammrg/myrg_rnext.c
+3
-0
myisammrg/myrg_rprev.c
myisammrg/myrg_rprev.c
+3
-0
No files found.
myisammrg/myrg_rnext.c
View file @
88012698
...
...
@@ -25,6 +25,9 @@ int myrg_rnext(MYRG_INFO *info, byte *buf, int inx)
int
err
;
MI_INFO
*
mi
;
if
(
!
info
->
current_table
)
return
(
HA_ERR_KEY_NOT_FOUND
);
/* at first, do rnext for the table found before */
if
((
err
=
mi_rnext
(
info
->
current_table
->
table
,
NULL
,
inx
)))
{
...
...
myisammrg/myrg_rprev.c
View file @
88012698
...
...
@@ -25,6 +25,9 @@ int myrg_rprev(MYRG_INFO *info, byte *buf, int inx)
int
err
;
MI_INFO
*
mi
;
if
(
!
info
->
current_table
)
return
(
HA_ERR_KEY_NOT_FOUND
);
/* at first, do rprev for the table found before */
if
((
err
=
mi_rprev
(
info
->
current_table
->
table
,
NULL
,
inx
)))
{
...
...
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