diff options
author | stephan <stephan@noemail.net> | 2023-11-14 05:33:44 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-11-14 05:33:44 +0000 |
commit | 4ce5bc2836c9f6cd7af6514c8b1126ac937b1d76 (patch) | |
tree | 72041e28ff60d3edee5c1936b80d0e200de17970 /src/expr.c | |
parent | bdfc51dfef8b5186d552ed6afb7a3a68dd5fb063 (diff) | |
download | sqlite-4ce5bc2836c9f6cd7af6514c8b1126ac937b1d76.tar.gz sqlite-4ce5bc2836c9f6cd7af6514c8b1126ac937b1d76.zip |
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
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions