Skip to content

Commit 623813d

Browse files
committed
Correct var case in comments
Signed-off-by: Matt Lord <mattalord@gmail.com>
1 parent 93a5ab9 commit 623813d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/mysql/binlog_event_compression.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var (
8181
statelessDecoder *zstd.Decoder
8282

8383
// A pool of stateful decoders for larger payloads that we want to
84-
// stream. The number of large (> zstdInMemoryDecompressorMaxSize)
84+
// stream. The number of large (> ZstdInMemoryDecompressorMaxSize)
8585
// payloads should typically be relatively low, but there may be times
8686
// where there are many of them -- and users like vstreamer may have
8787
// N concurrent streams per tablet which could lead to a lot of
@@ -271,7 +271,7 @@ func (tp *TransactionPayload) decode() error {
271271
}
272272

273273
// decompress decompresses the payload. If the payload is larger than
274-
// zstdInMemoryDecompressorMaxSize then we stream the decompression via
274+
// ZstdInMemoryDecompressorMaxSize then we stream the decompression via
275275
// the package's pool of zstd.Decoders, otherwise we use in-memory
276276
// buffers with the package's concurrent statelessDecoder.
277277
// In either case, we setup the reader that can be used within the

0 commit comments

Comments
 (0)