Re: [PHP-DEV] Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver

2024-04-30 Thread Kamil Tekiela
I see absolutely no reason to do this. There is no difference between MySQL and MariaDB in terms of PDO. Sure, the actual RDBMSs have differences, but they play no role when it comes to PDO. If MariaDB decides to change the protocol some day then we would need a new driver to replace mysqlnd. Only

[PHP-DEV] Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver

2024-04-30 Thread Arvids Godjuks
On Tue, 30 Apr 2024 at 21:32, Matteo Beccati wrote: > Hi Arvids, > > > > 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

[PHP-DEV] Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver

2024-04-30 Thread Matteo Beccati
Hi Arvids, Il 30/04/2024 18:50, Arvids Godjuks ha scritto: Hello, I'm splitting this discussion from https://externals.io/message/123183 , see details at https://externals.io/message/123183#123234 and

Re: [PHP-DEV] Proposal: Arbitrary precision native scalar type

2024-04-30 Thread Arvids Godjuks
On Tue, 30 Apr 2024 at 09:19, Rowan Tommins [IMSoP] wrote: > > > On 28 April 2024 07:47:40 GMT-07:00, Robert Landers < > landers.rob...@gmail.com> wrote: > > >I'm not so sure this could be implemented as an extension, there just > >isn't the right hooks for it. > > The whole point of my email

Re: [PHP-DEV] Proposal to Create a MariaDB Alias for the MySQL PDO Driver

2024-04-30 Thread Larry Garfield
On Tue, Apr 30, 2024, at 4:50 PM, Arvids Godjuks wrote: > Hello, > > I'm splitting this discussion from https://externals.io/message/123183, > see details at https://externals.io/message/123183#123234 and > https://externals.io/message/123183#123236 to keep the original thread > clean. > >

[PHP-DEV] Proposal to Create a MariaDB Alias for the MySQL PDO Driver

2024-04-30 Thread Arvids Godjuks
Hello, I'm splitting this discussion from https://externals.io/message/123183, see details at https://externals.io/message/123183#123234 and 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

RE: External Message: Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Jeffrey Dafoe
> > This would allow people to use MariaDB and MySQL-specific functionality by > using the respective driver namespace and remove any confusion about if this > works with both or only one of them. > > > > I know it seems to be out of scope, but this deals with PDO subclass names > and this seems

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Calvin Buckley
On Apr 30, 2024, at 8:07 AM, Arvids Godjuks wrote: > On Tue, 30 Apr 2024 at 12:07, Matteo Beccati wrote: > Hi, > > > > If MariaDB wants to maintain a specific PDO Driver they can do so > > themselves and publish it on PECL, same as how CUBRID (and others) does > > currently. > > That is

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Saki Takamachi
Hi Arvīds, > I wasn't proposing rolling a separate driver or anything like that, just an > alias that would reserve a namespace for MariaDB and if there's ever a need > to actually roll the driver, that alias be replaced with actual driver. > The thing is at this point MySQL and MariaDB have a

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-04-30 Thread Saki Takamachi
Hi Alex, > Just one small note from me, for mod operation, related to scale there is a > mention of "Use the scale of the dividend as is". > In reality, I think it should be the same as add and sub, "The larger scale > of the two values is applied". > In this way, something like this can work

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Arvids Godjuks
On Tue, 30 Apr 2024 at 12:07, Matteo Beccati wrote: > Hi, > > > > If MariaDB wants to maintain a specific PDO Driver they can do so > > themselves and publish it on PECL, same as how CUBRID (and others) does > > currently. > > That is true, however it's mysqlnd the part that deals with the

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-04-30 Thread Alexandru Pătrănescu
On Tue, Apr 30, 2024 at 7:31 AM Saki Takamachi wrote: > Hi, > > If there is no further discussion, I will start voting tomorrow. (I > haven't decided on the time yet.) > https://wiki.php.net/rfc/support_object_type_in_bcmath > > > Just one small note from me, for mod operation, related to scale

Re: [PHP-DEV] PDO subclass names

2024-04-30 Thread Matteo Beccati
Hi, Il 29/04/2024 15:10, Gina P. Banyard ha scritto: On Tuesday, 23 April 2024 at 15:59, Arvids Godjuks wrote: A thought crossed my mind, considering that MariaDB and MySQL are drifting more and more apart with features and nuances of how they work, would it be a good idea to create an

Re: [PHP-DEV] Proposal: Arbitrary precision native scalar type

2024-04-30 Thread Rowan Tommins [IMSoP]
On 28 April 2024 07:47:40 GMT-07:00, Robert Landers wrote: >I'm not so sure this could be implemented as an extension, there just >isn't the right hooks for it. The whole point of my email was that "this" is not one single feature, but a whole series of them. Some of them can be