]> git.ipfire.org Git - thirdparty/sqlite.git/commit
JNI: use ByteBuffer.limit() instead of ByteBuffer.capacity() when figuring out where...
authorstephan <stephan@noemail.net>
Tue, 14 Nov 2023 05:33:44 +0000 (05:33 +0000)
committerstephan <stephan@noemail.net>
Tue, 14 Nov 2023 05:33:44 +0000 (05:33 +0000)
commit4ce5bc2836c9f6cd7af6514c8b1126ac937b1d76
tree72041e28ff60d3edee5c1936b80d0e200de17970
parentbdfc51dfef8b5186d552ed6afb7a3a68dd5fb063
JNI: use ByteBuffer.limit() instead of ByteBuffer.capacity() when figuring out where the logical end of a ByteBuffer is, for reasons explained at length in new code comments. This is unfortunately slower but is the correct way to do it.

FossilOrigin-Name: 51539419edc08ee6c70d8719d0f4d5ad47dd545a7fd9bf01d03a434aabd41d68
ext/jni/src/c/sqlite3-jni.c
ext/jni/src/org/sqlite/jni/capi/CApi.java
manifest
manifest.uuid