Rebuild the index file is needed when opening database coming from or to Mac OS 10.8
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Sun Jan 6 09:59:10 CST 2013
On 1/5/13 3:43 PM, "François Van Lerberghe" <frvanlerberghe at gmail.com>
wrote:
>> Checked with Vstudio 5.0b59 et 4.9 on MacOSX 10.6.8 :
>> All tables and fields have the same collation settings :
>> LocalName = French
>> Alternate Handling = kNonIgnorable
>> French Collation = kOn
>> Strength = kTertiary
>> (other = kOff)
>
> Mmmh, wait, I have another db and there,
> LocalName is empty
> Storage Encoding = UTF-16BE (UTF-16 in the first DB)
> French Collation = kOff
>
> Although I open and use this second db with my software (in witch I set
> LocalName in the constructor of my DB class, before open it), the LocalName
> setting is not saved in the DB as in my first one.
> I've not tested my first DB in Mountain Lion. The problem have raised with
> this second.
>
> Is there the problem ?
I think yes
> Must this assignment be saved permanently in the DB ?
It is. Problem was on that OS 10.7,
When something was changed in ICU of OS X
> And in this case where must I put the LocalName setting ? After the db.open
> and not in the constructor ?
Ahaa,
You have classes, and Class way.
So contructors work before db.open
Just add AFTER db.open() one more line.
And check if this helps
--
May be also after db.Create(), but this is for future dbs.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list