Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
千早爱音
db2024-1105
Commits
d523a012
Commit
d523a012
authored
10 months ago
by
theshy
Browse files
Options
Download
Patches
Plain Diff
fixbug
parent
e62221ff
release-v1
6800
6800+
6800++
6800h
6800z
9800h
9800z
lovestory
pru
recordlock6793
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/execution/executor_index_scan.h
+3
-0
src/execution/executor_index_scan.h
with
3 additions
and
0 deletions
+3
-0
src/execution/executor_index_scan.h
+
3
−
0
View file @
d523a012
...
...
@@ -348,7 +348,10 @@ class IndexScanExecutor : public AbstractExecutor {
scan_
->
next
();
if
(
!
scan_
->
is_end
())
{
rid_
=
scan_
->
rid
();
if
(
!
ifmodify_
)
context_
->
lock_mgr_
->
lock_shared_on_record
(
context_
->
txn_
,
rid_
,
fh_
->
GetFd
());
else
context_
->
lock_mgr_
->
lock_exclusive_on_record
(
context_
->
txn_
,
rid_
,
fh_
->
GetFd
());
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets