From: Hiroyuki Komatsu
Date: Wed, 05 Aug 2009 12:21:06 +0900 (JST)
> In my experience;
> GET-ININSTACE-BY-VALUE and GET-ININSTACES-BY-VALUE are
> works correctly.
>
> GET-INSTACES-BY-RANGE does not work correctly with
> incorrectly sorted data.
These are my mistake.
I have re-test old db
From: "Leslie P. Polzer"
Date: Tue, 4 Aug 2009 08:58:03 +0200 (CEST)
> Could you also add new tests that show the problem?
Below listing is test code, uses attached utf-8 encoded file.
File was constructed by six lines, have below format.
#\:UTF-(8|16|32) char-code:)>
---
Hiroyuki Komatsu wrote:
> Sorry, I'm not familiar to English.
>
> BDB btree stores utf16/utf32 string into illegal sort order.
>
> There is 2 problems in string serializer:
> UTF serializers serialize into big endian
> UTF32 compator in libberkeley-db.c does not work correctly
>
> attached pat
Sorry, I'm not familiar to English.
BDB btree stores utf16/utf32 string into illegal sort order.
There is 2 problems in string serializer:
UTF serializers serialize into big endian
UTF32 compator in libberkeley-db.c does not work correctly
attached patch fix these problems.
diff -rN -u old-e