Files
scylladb/test/boost
Avi Kivity 58e02c216a test: sstable_datafile_test: sstable_run_based_compaction_test: prevent use of uninitialized variable observer
The variable 'observer' (an std::optional) may be left uninitialized
if 'incremental_enabled' is false. However, it is used afterwards
with a call to disconnect, accessing garbage.

Fix by accessing it via the optional wrapper. A call to optional::reset()
destroys the observable, which in turn calls disconnect().

Closes #7380
2020-10-11 17:36:08 +03:00
..
2020-09-08 15:59:25 +03:00
2020-10-01 14:30:59 +03:00
2020-08-11 10:37:34 +08:00
2020-10-02 14:03:01 +02:00