Skip to content

Commit 16635e9

Browse files
committed
fix: update Buffer creation for ProtocolVersion.Auto to use BufferV3
1 parent af2acea commit 16635e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net-questdb-client/Buffers/Buffer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static IBuffer Create(int bufferSize, int maxNameLen, int maxBufSize, Pro
4747
ProtocolVersion.V1 => new BufferV1(bufferSize, maxNameLen, maxBufSize),
4848
ProtocolVersion.V2 => new BufferV2(bufferSize, maxNameLen, maxBufSize),
4949
ProtocolVersion.V3 => new BufferV3(bufferSize, maxNameLen, maxBufSize),
50-
ProtocolVersion.Auto => new BufferV2(bufferSize, maxNameLen, maxBufSize),
50+
ProtocolVersion.Auto => new BufferV3(bufferSize, maxNameLen, maxBufSize),
5151
_ => throw new NotImplementedException(),
5252
};
5353
}

0 commit comments

Comments
 (0)