V4MD: Multiple opened Projector edit the same local db -> is
that safe?
Marc Schmitt
Marc_Schmitt at gmx.de
Thu Jun 12 08:27:05 CDT 2008
Hi Ruslan,
hopefully ;) one very last question:
Let's say a projector opens a db and the projector dies (maybe a crash or something)
before the projector closes the db via db.close() explicitly.
What happens to 'db.isopen' property? Will it remain 1 or will it be automatically reset to 0?
Thanks in advance and best regards
Marc
-------- Original-Nachricht --------
> Datum: Tue, 10 Jun 2008 17:09:29 +0300
> Von: Ruslan Zasukhin <sunshine at public.kherson.ua>
> An: "valentina at lists.macserve.net" <valentina at lists.macserve.net>
> Betreff: Re: V4MD: Multiple opened Projector edit the same local db -> is that safe?
> On 6/10/08 4:52 PM, "Marc Schmitt" <Marc_Schmitt at gmx.de> wrote:
>
> Hi Marc,
>
> > Are you inferring that:
> > - each Projector has to re-open the db, do its query and then close the
> db on
> > every occasion?
>
> Yes, this is open/close trick.
>
> You can find a lots of info about it on this list archive about 2000 -
> 2006
> years
>
> > - the projector opens the db only if 'db.isOpen' is 0 ?
>
> Yes.
>
> Although on MAC OS X you need yet own .lock file
> Also see lists archives.
>
> > - and when 'db.isOpen' = 1 then the projector has to wait until
> 'db.isOpen' =
> > 0 again ?
>
> Yes -
>
> > is that alltogether the open/close trick?
> > If not, could you please provide more info on that?
>
>
>
> --
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list