[fpc-pascal] TSQLDBLibraryLoader committed for SQLDB
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Wed Aug 22 10:01:10 CEST 2012
Michael Van Canneyt wrote:
> Hi,
>
> After recent discussions about which library to load when loading DB client
> libraries, I changed the default names for Firebird, MySQL, Postgres.
>
> araminta: >./loadlibdemo list
> Available connection types:
> Firebird, Default library name: libfbclient.so.2.5
> MySQL 4.0, Default library name: libmysqlclient.so.12
> MySQL 4.1, Default library name: libmysqlclient.so.14
> MySQL 5.0, Default library name: libmysqlclient.so.15
> MySQL 5.1, Default library name: libmysqlclient.so.16
> MySQL 5.5, Default library name: libmysqlclient.so.18
> PostGreSQL, Default library name: libpq.so.5
>
> I also committed a component that allows you to select the library to load
> in the IDE. There is a small test program in fcl-db/examples that shows how
> to use the component.
>
> (In the IDE: drop, set connector type from picklist, maybe change
> library name, set to enabled).
>
> The above listing is the output of the test program.
>
> The component is registered now in the SQLDb package.
>
> Note that the use of the component is optional. It's only needed if you
> want
> to change the library name to something else as the default.
What version of FPC and Lazarus will this affect in practice?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list