Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123237 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 029741A009C for ; Tue, 30 Apr 2024 14:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714489144; bh=aLPSNJfyQdabZ6p6mYkxmFBKAP8bU2lU4F5urLjNv9k=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=S+sdZuE4MMbGB+qGJ2IQXx1bhc2BWpIT7ZWMtUpF8B2N1DCymEzXquRe5JiTpaCOS 3VhzL/1CRm/ksgB0tkwXVmvYay0W8HMuggY6uxmFNygEV5Yg0GrxB0J0w3ETCLgkJa K/KylUG5xvQX6prXyxpF0Q5MzTna4pj6w9Kh9lGaDaM80mGp16+ugr3yR2i0yI7d4J Rg/M3zgqqO3/8kF1GcEAKiP9Yd+z4WlkO6akgC8qMN0h9hK9+e2TVvJWuhaxpacSCp l5irCoUgy6Pm/CrPvEMsFHDYm8Y3nt2Xj5O2fXgt/poyRLXahc9qnNIyNPgPstRWrn mPjKczQlUHqkQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0B60518006F for ; Tue, 30 Apr 2024 14:59:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from supercat.cmpct.info (supercat.cmpct.info [71.19.146.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 30 Apr 2024 14:59:03 +0000 (UTC) Received: from smtpclient.apple (fctnnbsc38w-142-162-55-237.dhcp-dynamic.fibreop.nb.bellaliant.net [142.162.55.237]) by supercat.cmpct.info (Postfix) with ESMTPSA id 4DC934E94B; Tue, 30 Apr 2024 14:58:17 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: [PHP-DEV] PDO subclass names In-Reply-To: Date: Tue, 30 Apr 2024 11:58:05 -0300 Cc: Matteo Beccati , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Arvids Godjuks X-Mailer: Apple Mail (2.3774.500.171.1.1) From: calvin@cmpct.info (Calvin Buckley) On Apr 30, 2024, at 8:07=E2=80=AFAM, Arvids Godjuks = wrote: > On Tue, 30 Apr 2024 at 12:07, Matteo Beccati wrote: > Hi, >=20 >=20 > > If MariaDB wants to maintain a specific PDO Driver they can do so=20 > > themselves and publish it on PECL, same as how CUBRID (and others) = does=20 > > currently. >=20 > That is true, however it's mysqlnd the part that deals with the = network=20 > protocol, which they wouldn't be able to modify from PECL. That said,=20= > I'm not an expert on mysql/maria, but I also doubt the changes are=20 > significant enough that they need a separate driver. >=20 > 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. >=20 > 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. >=20 Has the network protocol diverged much? I know storage engines, query = language, etc. might change, but the underlying protocol might be = similar.=