[elephant-devel] UTF seriazer/desiriali patch

Leslie P. Polzer sky at viridian-project.de
Tue Aug 4 06:58:03 UTC 2009


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 patch fix these problems.

Thank you! Two questions:

  Could you also add new tests that show the problem?

  Is the change compatible with existing incorrectly sorted
  databases?

 Leslie

-- 
http://www.linkedin.com/in/polzer





More information about the elephant-devel mailing list