Skip to content

Commit 246b388

Browse files
committed
#937 Off-by-one error in default value for maxInlineBlobSize
1 parent a86a7c1 commit 246b388

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

publish.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ publishing {
117117
name = 'Julien Nabet'
118118
url = 'https://github.com/serval2412'
119119
}
120+
contributor {
121+
name = 'Artyom Abakumov'
122+
url = 'https://github.com/Noremos'
123+
}
120124
}
121125

122126
mailingLists {

src/docs/asciidoc/release_notes.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ The hash that is sent instead of the actual password -- for authentication plugi
4646
We now use UTF-8 bytes instead.
4747
+
4848
See also <<compat-legacy-auth>>.
49+
* Fixed: Off-by-one error in default value for `maxInlineBlobSize` (should be 65535, not 65536) (https://github.com/FirebirdSQL/jaybird/issues/937[#937])
50+
+
51+
Fix was contributed by Artyom Abakumov.
4952

5053
=== Jaybird 6.0.5
5154

src/main/org/firebirdsql/jaybird/props/PropertyConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public final class PropertyConstants {
7474

7575
public static final boolean DEFAULT_ASYNC_FETCH = true;
7676

77-
public static final int DEFAULT_MAX_INLINE_BLOB_SIZE = 64 * 1024;
77+
public static final int DEFAULT_MAX_INLINE_BLOB_SIZE = 65535;
7878
public static final int DEFAULT_MAX_BLOB_CACHE_SIZE = 10 * 1024 * 1024;
7979

8080
public static final int TIMEOUT_NOT_SET = -1;

0 commit comments

Comments
 (0)