two connections, two different fb srv, one app dir
Moderators: gto, cipto_kh, EgonHugeist
two connections, two different fb srv, one app dir
The std name for both libs is "fbclient.dll".
If using one as client db and another as server db in same application (two connections) howto access different libs (embedded and standalone server) if they both have to be named "fbclient.dll" ?
I would propose to make zeos search for different names, eg "fbclient_embedxx.dll" and "fblientxx.dll" (server is default) and have an own protocol name for embedded.
What do you mean?
If using one as client db and another as server db in same application (two connections) howto access different libs (embedded and standalone server) if they both have to be named "fbclient.dll" ?
I would propose to make zeos search for different names, eg "fbclient_embedxx.dll" and "fblientxx.dll" (server is default) and have an own protocol name for embedded.
What do you mean?
fabian
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Hi Terence,
You're right. Look at what we did for mysql lately (testing branch). It works, so you can do the same for firebird. In fact, we implemented the embedded driver as a subclass of the client driver to inherit all functionallity and load it from a different location. I don't know whether fb client and embedded libraries are equally similar as is the case for mysql?
Also here, I'm waiting for your patch.
Mark
You're right. Look at what we did for mysql lately (testing branch). It works, so you can do the same for firebird. In fact, we implemented the embedded driver as a subclass of the client driver to inherit all functionallity and load it from a different location. I don't know whether fb client and embedded libraries are equally similar as is the case for mysql?
Also here, I'm waiting for your patch.
Mark
Here is the patch! I updated fb 2.0 and fb1.5 drivers.
Now the driver want verisoned dll names, like in myssql.
The drivers still kep in unit named "interbase6", shall we seperrate them?
If you really want the patch for fb1 also.. give me a sign -
however i thought none will need it, so i saved my time to dig into that table refresh thing.
Compiles and runs! I am not into tesing now, maybe someone can explain the prcoedure if necesarry.
I noticed stgh strange...
I can use "fbclientd20.dll" and "host=localhost" to connect the standalone firebird database server. This would mean that the embedded dll "fbclientd20.dll" (2MB) embedds all the functionality of the server solution "fbclient20.dll" (~350k). In this case deploying the embedded driver dll will also cover the server needs. Pretty, isn't it?
The switch seems to be "host=''" to use embedded server. If so, the fbguard app does not show any connection, but if set to locahost, num of connections is 1. And all in absence of the "fbclient20.dll". That will save my releases 300 kb . yehaa .. lol.
I think the patch didn't take the firebird binary (dll, libs), therefore the zip.
http://cforce.dnsalias.org/files/firebird.zip
Have fun!
P.s would be great if can commit as usual next time
Now the driver want verisoned dll names, like in myssql.
The drivers still kep in unit named "interbase6", shall we seperrate them?
If you really want the patch for fb1 also.. give me a sign -
however i thought none will need it, so i saved my time to dig into that table refresh thing.
Compiles and runs! I am not into tesing now, maybe someone can explain the prcoedure if necesarry.
I noticed stgh strange...
I can use "fbclientd20.dll" and "host=localhost" to connect the standalone firebird database server. This would mean that the embedded dll "fbclientd20.dll" (2MB) embedds all the functionality of the server solution "fbclient20.dll" (~350k). In this case deploying the embedded driver dll will also cover the server needs. Pretty, isn't it?
The switch seems to be "host=''" to use embedded server. If so, the fbguard app does not show any connection, but if set to locahost, num of connections is 1. And all in absence of the "fbclient20.dll". That will save my releases 300 kb . yehaa .. lol.
I think the patch didn't take the firebird binary (dll, libs), therefore the zip.
http://cforce.dnsalias.org/files/firebird.zip
Have fun!
P.s would be great if can commit as usual next time
fabian
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Hi Terence,
I applied your patch to testing branch. As far as the Zeos coding concerns, I mean. The other parts of the lib-directory are unclear to me. Apparently there's only files in the'SVN' directories? Can you just make a zip with the lib/firebird content? (Dll's and eventually example config files if they are usefull, but think about copyrights)
Mark
BTW, this seemed to be a good patch (based on the example ofanother database) So I hope we can work on SVN commit rights soon.
(Firmos, If you read this... )
I applied your patch to testing branch. As far as the Zeos coding concerns, I mean. The other parts of the lib-directory are unclear to me. Apparently there's only files in the'SVN' directories? Can you just make a zip with the lib/firebird content? (Dll's and eventually example config files if they are usefull, but think about copyrights)
Mark
BTW, this seemed to be a good patch (based on the example ofanother database) So I hope we can work on SVN commit rights soon.
(Firmos, If you read this... )
-
- Fresh Boarder
- Posts: 20
- Joined: 21.11.2005, 10:13
- Location: Pieštany
- Contact:
"Firebird is completely free of any registration, licensing or deployment fees. It may be deployed freely for use with any third-party software, whether commercial or not." - www.firebirdsql.org
Really not in there, well ok. Zip contains libs for fb15 and 2.0 for windows.
Would be greate if someone out there can make a unix bundle, i never used it on unix and have no idea what exactly is needed (in worst case).
http://cforce.dnsalias.org/files/firebird2.zip
Would be greate if someone out there can make a unix bundle, i never used it on unix and have no idea what exactly is needed (in worst case).
http://cforce.dnsalias.org/files/firebird2.zip
fabian