Subject | Re: [firebird-support] embedded twice |
---|---|
Author | Ann W. Harrison |
Post date | 2006-03-28T17:22:12Z |
Jason Dodson wrote:
that allows additional readers, but not additional writers. Hmmm.
The logic in the attach does not allow a read-only attachment to
a database declared as read-write. If it did, the attachment
combination the original writer wanted (one writer, additional
reader) could be made to work...
Anyway, the point is that you can't accidentally BORK a database
by attaching to it with two different servers.
Regards,
Ann
>The embedded engine, like SuperServer, opens the file in a mode
> But just like two instances of a SuperServer, DO NOT attach
> them to the same database file(s). You WILL BORK them.
>
that allows additional readers, but not additional writers. Hmmm.
The logic in the attach does not allow a read-only attachment to
a database declared as read-write. If it did, the attachment
combination the original writer wanted (one writer, additional
reader) could be made to work...
Anyway, the point is that you can't accidentally BORK a database
by attaching to it with two different servers.
Regards,
Ann