Skip to content

Commit 338fbe6

Browse files
committed
fix(blob): initialize optional owned source stream
1 parent b4a2a62 commit 338fbe6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/paimon/format/blob/blob_format_writer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class BlobFormatWriter : public FormatWriter {
120120
struct BlobCopySource {
121121
std::unique_ptr<InputStream> stream;
122122
bool reused = false;
123-
std::shared_ptr<InputStream> owned_stream;
123+
std::shared_ptr<InputStream> owned_stream = nullptr;
124124
};
125125

126126
/// Open an input stream on a blob value, which is either a serialized BlobDescriptor or the

0 commit comments

Comments
 (0)