[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Fwd: LMDB and text encoding
>> A path is always a Unicode string, while a DB name can be an arbitrary
>> binary blob. So I don't think that we can treat them the same way.
>
>
> Not the point. A program which uses LDMB can choose to treat its
> own DB names in its own LMDB environments as the same kind of
> strings as filenames (WCHAR, UTF-8 char, or whatever). Unless we
> make that impossible.
>
> As for what LMDB will accept and what it must handle, that's up to
> us. DB names are not binary blobs yet, after all.
Okay. What do you suggest?