Hi Arvids,
Il 30/04/2024 18:50, Arvids Godjuks ha scritto:
Hello,
I'm splitting this discussion from https://externals.io/message/123183
<https://externals.io/message/123183>, see details at
https://externals.io/message/123183#123234
<https://externals.io/message/123183#123234> and
https://externals.io/message/123183#123236
<https://externals.io/message/123183#123236> to keep the original thread
clean.
There's a clear divergence in functionality between MySQL and MariaDB.
As PDO evolves to accommodate database-specific drivers, it's sensible
to introduce a MariaDB alias for the MySQL driver. Although the mysqlnd
library handles networking protocols for both, practical higher level
usage increasingly demands differentiation at the database layer, much
like Doctrine's recent updates requiring distinct identification of
MariaDB vs. MySQL.
I propose establishing a MariaDB namespace. This would allow for
explicit implementation of database-specific functions and help in
correctly mapping methods and queries to the respective database.
Thoughts? Questions?
It's not clear to me what divergences need to be addressed at the PDO
level at this point. Could you please shed some light?
Is it just identification? If so, I think the best place to do it is
some user-land configuration.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/