Stan, Claudius, your feedback on fc1 ?

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Dec 28 14:46:25 CST 2005


On 12/28/05 2:41 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

>> Sorry, SchemaVersion is equal to 1, not 0. That is 1 rather than the
>> value I set.
>> 
>>> However I have a problem with 'SchemaVersion'. I launch myApp, it
>>> creates a new database, set SchemaVersion to 102, later it crashes
>>> because of a problem I have created (RB problem, not Valentina).
>>> When I relaunch the application, it starts to run all schema
>>> updates -- looking at SchemaVersion value I find out it is 0 so it
>>> looks like the crash has prevented Valentina to save SchemaVersion
>>> to disk. Is this possible? It is fully reproducible, I never get
>>> 102, always 0.
> 
> Okay, it sounds like
> 
>     db.SchemaVersion = x
> 
> Have not flush its value.
> 
> Ivan, please check this point. Must be easy. Just add Flush() in right
> place. 

I have to think.

Do you call db.Flush() after
    db.SchemaVersion = x


Deal is that engine do NOT flush self changes in structure such as

    tbl.CreateField()

You need self flush that.

We have made this to allow developer get the maximum speed when you change
structure. But now you must self do Flush().



-- 
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-beta mailing list