Subject Re: [firebird-support] Re: how to run embedded firebird in a CD in readonly mode.
Author Helen Borrie
At 06:07 AM 12/02/2004 +0000, you wrote:
>Artur,
>
> Yes, I incorrectly expressed myself. I intended to write:
>copying the database and the whole (client) application
>with all the embedded server stuff (dll-s, etc.) to one CD,
>which then could be run from this CD.
>But Helen already answered my question :-).
>
>Anyway, it would be great if we could run a whole app + server + db
>stuff from that CD. If read only, then exclusive lock on database
>doesn't make any sense.

Well, actually, yes it does, in architectural terms. The embedded server
is Superserver and, on Windows SS, for read-write dbs, the exclusive lock
is essential to avoid allowing Windows to let multiple users log in using
different connection paths (a source of incorrigible corruption with
InterBase).

In "rational" terms, no, it doesn't make sense from the POV that, with no
writing possible, corrupting the database isn't a risk. But one couldn't
break the Superserver architecture for the sake of embedded.

It's something Dmitry promised to address in the Fb2 development, maybe
already has, since he's already done more work on embedded.

/hb