Dimitry,

That is certainly news to me as I have been using libfbembed.so
successfully under Linux in previously releases in an almost identical
way to the Windows embedded server DLL, in order to have access to
personal databases. Indeed, I have developed a Lazarus based application
which compiles under both Windows and Linux and uses a personal database
identically in both cases. Firebird 2.5 breaks this application (under
Linux).

Otherwise, the embedded server runs very well under Linux. The only
problem I have noticed is that shutting down the database is problematic
when more than one process is concurrently using libfbembed to access
that database. Note that under classic, utilities such as isql are
directly linked with libfbembed.

I also routinely force Apache/php to use libfbemded rather than
libfbclient as this seems to both speed up access and avoid what looked
like a memory leak problem with lthe ong term use of the super server
that I never quite got to the bottom of.

Actually, the Security Database restriction/problem is more general than
just the embedded server. In order to qualify new application releases,
I usually set up regression test suites with automatic pass/fail by
comparison with previously verified results. With earlier Firebird
releases, it was easy enough to set up test servers in user space -
sometimes several servers on a single system in order to simulate a
network. The same problem with the security database is also present in
both super and classic servers making these kind of tests impossible
with Firebird 2.5 unless you compile your own version instead of using
the distros version.

For those interested in MySQL comparisons, it's easy to set up MySQL
servers in user space. On the other hand, MySQL does not have anything
as useful as the embedded server.

Tony Whyman
MWA

On 26/03/14 09:36, Dimitry Sibiryakov wrote:
> 26.03.2014 10:23, Tony Whyman wrote:
>> 1, Requiring access to the security database is a change in behaviour
>> from Firebird 2.1 and breaks any implementation that relied on this.
>    You badly mix up Firebird Embedded for Windows and libfbembed.so which is 
> part of 
> classic server on POSIX, but doesn't and never did work the same way as 
> Firebird Embedded 
> for Windows. There is no Firebird Embedded release for POSIX.
>


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to