[VSDK] Specifying a secondary index?
Eric Forget
forgete at cafederic.com
Sat Jul 3 01:46:18 CDT 2004
>> I've found the culprit:
>>
>> VDK_String::SetCompareFunction();
>>
>> As soon as we call this function, it marks the field index to "dirty".
>> Unfortunately, I cannot call this function before opening the database: my
>> callback will never be called if I do so...
>>
>> Do you have an idea on how to resolve that?
>>
>> Maybe adding a Boolean as a second parameter to SetCompareFunction()?
>
> Looks to be the only way.
>
> Remind me why you set own compare function ?
I'm using UTF-8 strings and also I need to compare number friendly: in order
"AAA 28", "AAA 190", etc.
Éric
___________________________________________________________________
Eric Forget Cafederic
ForgetE at cafederic.com <http://www.cafederic.com/>
Fingerprint <86D5 38F5 E1FD 5D9C 71C3 BAA3 797E 70A4 6210 C684>
More information about the Valentina
mailing list