Skip to content

Make initial ReadVarColumn buffer size configurable#1490

Merged
mkleehammer merged 2 commits into
mkleehammer:masterfrom
bkline:1071-readvar-initsize
Jun 6, 2026
Merged

Make initial ReadVarColumn buffer size configurable#1490
mkleehammer merged 2 commits into
mkleehammer:masterfrom
bkline:1071-readvar-initsize

Conversation

@bkline

@bkline bkline commented May 5, 2026

Copy link
Copy Markdown
Contributor

Added Connection.readvar_initsize. If this is set to zero, we start with a buffer large enough (within reason) for the entire column value.

Also fixed a comment which referred to the wrong variable.

Fixes #1071

bkline and others added 2 commits May 5, 2026 08:28
Added `Connection.readvar_initsize`. If this is set to zero, we
start with a buffer large enough (within reason) for the entire
column value.

Also fixed a comment which referred to the wrong variable.

Fixes mkleehammer#1071
# Conflicts:
#	src/connection.cpp
#	tests/sqlserver_test.py
@mkleehammer
mkleehammer merged commit 2aec4a4 into mkleehammer:master Jun 6, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please make the initial allocation size in ReadVarColumn configurable

2 participants