Skip to content

Commit 38a52c4

Browse files
committed
#939 Off-by-one error in default value for maxInlineBlobSize
Backport of #937
1 parent c05a39b commit 38a52c4

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
@@ -53,6 +53,9 @@ See also <<compat-legacy-auth>>.
5353
See also <<disable-force-close-on-fatal>>.
5454
+
5555
This change was backported from Jaybird 6.0.6.
56+
* Fixed: Off-by-one error in default value for `maxInlineBlobSize` (https://github.com/FirebirdSQL/jaybird/issues/939[#939])
57+
+
58+
Fix was contributed by Artyom Abakumov, and backport from Jaybird 6.0.6.
5659
5760
[#jaybird-5-0-12-changelog]
5861
=== Jaybird 5.0.12

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public final class PropertyConstants {
6666
public static final String SCROLLABLE_CURSOR_SERVER = "SERVER";
6767
public static final String DEFAULT_SCROLLABLE_CURSOR = SCROLLABLE_CURSOR_EMULATED;
6868

69-
public static final int DEFAULT_MAX_INLINE_BLOB_SIZE = 64 * 1024;
69+
public static final int DEFAULT_MAX_INLINE_BLOB_SIZE = 65535;
7070
public static final int DEFAULT_MAX_BLOB_CACHE_SIZE = 10 * 1024 * 1024;
7171

7272
public static final int TIMEOUT_NOT_SET = -1;

0 commit comments

Comments
 (0)