Schema backwards compatibility

Ruslan Zasukhin sunshine at public.kherson.ua
Sat May 12 05:09:20 CDT 2007


On 11/5/07 6:30 PM, "jda" <jda at his.com> wrote:

> Hi Ruslan,
> 
> I just changed the schema of my database, adding 3 new fields. On
> opening older databases, my app modifies them to add these.
> 
> I was surprised to find that when I tried to open the new, modified
> db in the older version of my app it opened without a complaint! I
> checked with viSQL, and the database is indeed modified (has the 3
> new fields). Shouldn't the older version refuse to open it,
> generating a VException?
> 
> I'm quite happy to be able to open newer schemas with the older
> version of my app, but I didn't think it was supposed to work.
> 
> Using V2.5.8, BTW, and the API way for creating databases.

Sorry for delay:

    Key words here:  API Way.
                   ^^^^^^^^^^^^^^

So of course your old app can work with table that has 3 new fields.
Old app just will not see them and use them

It will NOT work, if you DELETE some field. :-)



-- 
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