Re: [elephant-devel] UTF seriazer/desiriali patch

2009-08-05 Thread Hiroyuki Komatsu
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

Re: [elephant-devel] UTF seriazer/desiriali patch

2009-08-04 Thread Hiroyuki Komatsu
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:)> ---

Re: [elephant-devel] UTF seriazer/desiriali patch

2009-08-03 Thread Leslie P. Polzer
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

[elephant-devel] UTF seriazer/desiriali patch

2009-08-03 Thread Hiroyuki Komatsu
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