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
da28dd3c
Commit
da28dd3c
authored
Dec 17, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: lock_rec_insert_check_and_lock(): Use the cached value
of thr_get_trx(thr).
parent
ca75e779
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lock/lock0lock.c
lock/lock0lock.c
+3
-3
No files found.
lock/lock0lock.c
View file @
da28dd3c
...
...
@@ -4880,7 +4880,7 @@ lock_rec_insert_check_and_lock(
lock_mutex_enter_kernel
();
ut_ad
(
lock_table_has
(
t
hr_get_trx
(
thr
)
,
index
->
table
,
LOCK_IX
));
ut_ad
(
lock_table_has
(
t
rx
,
index
->
table
,
LOCK_IX
));
next_rec_heap_no
=
page_rec_get_heap_no
(
next_rec
);
...
...
@@ -4895,7 +4895,7 @@ lock_rec_insert_check_and_lock(
/* Update the page max trx id field */
page_update_max_trx_id
(
block
,
buf_block_get_page_zip
(
block
),
t
hr_get_trx
(
thr
)
->
id
);
t
rx
->
id
);
}
*
inherit
=
FALSE
;
...
...
@@ -4934,7 +4934,7 @@ lock_rec_insert_check_and_lock(
/* Update the page max trx id field */
page_update_max_trx_id
(
block
,
buf_block_get_page_zip
(
block
),
t
hr_get_trx
(
thr
)
->
id
);
t
rx
->
id
);
}
#ifdef UNIV_DEBUG
...
...
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