This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
building_data_management_systems.Xuanzhou.2024Fall.DaSE
/
LevelDB-course-Lab
Watch
23
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add:compact_pointers_ should be clear when Clear() called
main
caodhuan
6 years ago
parent
6fa4566670
commit
77e9dfad9f
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
db/version_edit.cc
+ 1
- 0
db/version_edit.cc
View File
@ -34,6 +34,7 @@ void VersionEdit::Clear() {
has_prev_log_number_
=
false
;
has_next_file_number_
=
false
;
has_last_sequence_
=
false
;
compact_pointers_
.
clear
(
)
;
deleted_files_
.
clear
(
)
;
new_files_
.
clear
(
)
;
}
Write
Preview
Loading…
Cancel
Save