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
ab61377f
Commit
ab61377f
authored
Nov 15, 2005
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Attach TODO comments to added btr_page_reorganize() calls
parent
b0b49363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
btr/btr0cur.c
btr/btr0cur.c
+5
-0
No files found.
btr/btr0cur.c
View file @
ab61377f
...
...
@@ -2463,6 +2463,7 @@ btr_cur_del_mark_set_sec_rec(
/* Reorganize to try to get more modification log space. */
btr_page_reorganize
(
buf_block_get_frame
(
block
),
cursor
->
index
,
mtr
);
/* TODO: search for rec, invalidate hash index */
if
(
!
btr_rec_set_deleted_flag
(
rec
,
page_zip
,
val
))
{
/* TODO: could we do anything else than crash? */
...
...
@@ -2610,6 +2611,8 @@ btr_cur_optimistic_delete(
/* Reorganize the page to ensure that the
compression succeeds after deleting the record. */
btr_page_reorganize
(
page
,
cursor
->
index
,
mtr
);
/* TODO: invalidate hash index, reposition cursor */
}
}
...
...
@@ -2776,6 +2779,8 @@ btr_cur_pessimistic_delete(
/* Reorganize the page to ensure that the
compression succeeds after deleting the record. */
btr_page_reorganize
(
page
,
cursor
->
index
,
mtr
);
/* TODO: invalidate hash index, reposition cursor */
}
*
err
=
DB_SUCCESS
;
...
...
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