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
52706fd3
Commit
52706fd3
authored
Jul 22, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btr0cur.c:
Fix an error in the previous push
parent
8e96f029
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
innobase/btr/btr0cur.c
innobase/btr/btr0cur.c
+14
-14
No files found.
innobase/btr/btr0cur.c
View file @
52706fd3
...
...
@@ -1784,6 +1784,20 @@ btr_cur_pessimistic_update(
trx
->
id
);
}
if
(
flags
&
BTR_NO_UNDO_LOG_FLAG
)
{
/* We are in a transaction rollback undoing a row
update: we must free possible externally stored fields
which got new values in the update, if they are not
inherited values. They can be inherited if we have
updated the primary key to another value, and then
update it back again. */
ut_a
(
big_rec_vec
==
NULL
);
btr_rec_free_updated_extern_fields
(
index
,
rec
,
update
,
TRUE
,
mtr
);
}
/* We have to set appropriate extern storage bits in the new
record to be inserted: we have to remember which fields were such */
...
...
@@ -1821,20 +1835,6 @@ btr_cur_pessimistic_update(
btr_search_update_hash_on_delete
(
cursor
);
if
(
flags
&
BTR_NO_UNDO_LOG_FLAG
)
{
/* We are in a transaction rollback undoing a row
update: we must free possible externally stored fields
which got new values in the update, if they are not
inherited values. They can be inherited if we have
updated the primary key to another value, and then
update it back again. */
ut_a
(
big_rec_vec
==
NULL
);
btr_rec_free_updated_extern_fields
(
index
,
rec
,
update
,
TRUE
,
mtr
);
}
page_cur_delete_rec
(
page_cursor
,
mtr
);
page_cur_move_to_prev
(
page_cursor
);
...
...
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