Subject | Simultaneously host database from multiple engines |
---|---|
Author | |
Post date | 2018-06-29T03:04:53Z |
Hello Group,
Seems like a bad idea right?
I have a small application that runs embedded Firebird 2.5 to a database in its own folder.
I am running it on a machine which itself is running Firebird 2.5 Full Server in Classic mode (normally it would run on a machine without Firebird, hence embedded mode).
I have FlameRobin installed on this server. With my application closed, I ran FlameRobin and connected to the database in my applications folder (via localhost:d:\Path\To\Database.FDB ). I can see using Process Explorer that a fb_inet_server.exe has a handle to Database.FDB (as expected).
What surprised me is that I launched my application without closing FlameRobin and I did not receive any error message. This application uses the connection string d:\Path\To\Database.FDB so it is not connecting via the full server. I added some data via my application and could see that data in FlameRobin. (This is a test database, I am quite aware that this may corrupt it).
Just to check, I quit FlameRobin and my application and then shutdown the Firebird Service. My application was still able to connect to the database, so I know it isn't connecting via the full server.
I have memory from a long time ago that Firebird used to refuse to connect if it detected that the server was hosted by some other Firebird instance. Is this check broken, or is this now permissible (or is my memory faulty)?
Thanks in advance
Adam