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
educg-net-25737-2462428
DB2024-Winner-1424
Commits
42fabe9d
Commit
42fabe9d
authored
10 months ago
by
未命名(null)队
Browse files
Options
Download
Patches
Plain Diff
fix: unexpected update caused by non_copy of get_record in the update executor
parent
2a8cc1d3
X-GapLock-Batch
Backup-Final-Performance-3K-GapLock
Backup-X-GapLock-3W
Final-Performance
Final-Performance-3K
Final-Performance-3K-GapLock
Final-Performance-Backup-3K
Final-Performance-Base
Final-Performance-Base-NoWarn
Final-Performance-GapLock
Final-Performance-no-fast
Parallel-HashMap
X-GapLock
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/execution/executor_update.h
+2
-2
src/execution/executor_update.h
with
2 additions
and
2 deletions
+2
-2
src/execution/executor_update.h
+
2
−
2
View file @
42fabe9d
...
...
@@ -55,8 +55,8 @@ public:
// 这里 next 只会被调用一次
std
::
unique_ptr
<
RmRecord
>
Next
()
override
{
for
(
auto
&
rid
:
rids_
)
{
auto
&&
update
d_record
=
fh_
->
get_record
(
rid
,
context_
);
auto
ol
d_record
=
std
::
make_unique
<
RmRecord
>
(
*
update
d_record
);
auto
&&
ol
d_record
=
fh_
->
get_record
(
rid
,
context_
);
auto
update
d_record
=
std
::
make_unique
<
RmRecord
>
(
*
ol
d_record
);
for
(
int
i
=
0
;
i
<
set_clauses_
.
size
();
++
i
)
{
auto
&
col_meta
=
set_cols_
[
i
];
...
...
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