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
979ccab9
Commit
979ccab9
authored
May 14, 2008
by
sunny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Fix bug introduced in r2453.
parent
b2f0382e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
btr/btr0btr.c
btr/btr0btr.c
+5
-3
No files found.
btr/btr0btr.c
View file @
979ccab9
...
...
@@ -1796,15 +1796,17 @@ func_start:
hint_page_no
=
page_no
+
1
;
if
(
page_get_n_recs
(
page
)
==
1
)
{
page_cur_t
pcur
;
/* There is only one record in the index page
therefore we can't split the node in the middle
by default. We need to determine whether the
new record will be inserted to the left or right. */
/* Read the first (and only) record in the page. */
page_cur_set_before_first
(
block
,
page_curso
r
);
page_cur_move_to_next
(
page_curso
r
);
first_rec
=
page_cur_get_rec
(
page_curso
r
);
page_cur_set_before_first
(
block
,
&
pcu
r
);
page_cur_move_to_next
(
&
pcu
r
);
first_rec
=
page_cur_get_rec
(
&
pcu
r
);
offsets
=
rec_get_offsets
(
first_rec
,
cursor
->
index
,
offsets
,
...
...
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