Re: [h2] Possible bug in LZF compression

2014-06-02 Thread Jan Kotek
Hi, I confirm the issue is on my side. I made optimization in MapDB which causes the bug (replaced for loop copy with System.arrayCopy) Thanks for help and sorry for false alarm. Jan On Wednesday, May 28, 2014 13:41:24 Thomas Mueller wrote: Hi, Yes, it looks like this doesn't affect H2.

[h2] Possible bug in LZF compression

2014-05-27 Thread Jan Kotek
Hi, MapDB uses LZF compression from H2 database. One of our users reported wrongly decompressed data: https://github.com/jankotek/MapDB/issues/332[1] I have not checked yet if this bug affect H2 as well. Wiil be back in a few days All best, Jan [1]

Re: [h2] Possible bug in LZF compression

2014-05-27 Thread Noel Grandin
I massaged your test case into a unit test for H2, and it seems to be working for us. But maybe there is some more transformation that happens to the raw byte array before it hits the LZF compressor. On 2014-05-27 13:46, Jan Kotek wrote: MapDB uses LZF compression from H2 database. One of