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 different set of > additional capabilities that are not compatible between the two. Doctrine, at > this point, actually makes a distinction between MariaDB and MySQL - those > are considered different databases. > 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 to be a thing to consider here. Sure, we can have a separate > RFC about it, but I think this is the right moment to handle this question.
It's a very interesting subject, but off-topic for this thread. The purpose of this thread is to make a correction based on the Namespace RFC, since the RFC regarding namespaces and the RFC regarding PDO subclasses are in conflict with each other. That is, the PDO subclass RFC was passed in violation of the namespace RFC, and we are proposing the appropriate fix for it. (However, this is a very grey area. The Namespaces RFC "recommends" the use of namespaces, rather than mandating it.) Personally, I believe this fix does not require a new RFC. Regards, Saki