[Pkg-pascal-devel] No MariaDB support in FPC in Debian stable

Paul Gevers elbrus at debian.org
Tue Jul 11 19:23:54 UTC 2017


Hi Colin,

On 07/10/17 22:52, Colin Tuckley wrote:
> On 10/07/17 21:31, Paul Gevers wrote:
> 
>> But it is doing it's own detection of the MySQL flavor... Why is it
>> doing that then?
> 
> For reasons I don't understand, and which upstream has been unable to
> explain to me, cqrlog uses the external libs when it's doing what it
> calls 'remote' databases.

As the maintainer of dbconfig-common I do understand this. The server
which runs your MariaDB database may or may not be on your localhost.
Apparently the support for these remove host is not good enough.

> If you accept the default settings when first
> starting it then it runs some sort of private system (possibly still
> using the client libraries) which puts the database in the users home
> directory tree.

Ok.

> No problem, as long as people are aware there is something wrong and are
> looking at it then I'm happy.

I did a quick scan of the code, and the relevant code seems to be in
mysqlconn.inc¹ and there is code present (in the Stretch version) to
cope with MariaDB 10.1 which is in Stretch. So either the code is wrong,
or cqrlog is calling the fpc code in the wrong way.

To be honest, I have no idea how a Pascal package should use this code,
but I am tempted to say this is an issue in cqrlog and not in fpc.

Maybe an Pascal expert (which I am not) can shed his light on this?

If you want to report a bug (please do, as we tend to forget these
e-mail discussion some time from now), I suggest to file it against
fp-units-db.

Paul

¹
https://sources.debian.net/src/fpc/3.0.0%2Bdfsg-11/fpcsrc/packages/fcl-db/src/sqldb/mysql/mysqlconn.inc/#L74

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20170711/9526495d/attachment.sig>


More information about the Pkg-pascal-devel mailing list