Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123242 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 E8D0C1A009C for ; Tue, 30 Apr 2024 18:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714501989; bh=DrAYYBcr9ajkgMLCJFnUc7S7v9NXeXxJpoaJk513biQ=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=HD7EV1AV/WbwllnO2pV9DUg+fvvqFIUEFclyNTTuAhX9xWjMaYw7Giy7b9LNWk/2r 5gSfln0P7n4PCBJi8DDYwTLe56WRZhdzWJQHullloLfGACLIUfIHyCOaAmN3Hjp1fM tdZBl+oCatpM7ETvqXF2axXx3VS8eO5HBcpU5/AvcVtle7EEEUF5vlPQmqj9V9u9DF Ityyqd+/Qz5OQbEiAYZihCl88r7Q5LjeQAKSR5IKEDvKLCkR4N4y+H2tGQT+WlmksV Y05n2K5kMy9NQUSpSHpR1F6fZc1rImK8/iiysGpqYXg4mfmzy0evSqr4RYT7iSu+mv PypH9/LeSxOGw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 50098180860 for ; Tue, 30 Apr 2024 18:33:08 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,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 fhigh2-smtp.messagingengine.com (fhigh2-smtp.messagingengine.com [103.168.172.153]) (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 18:33:07 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 3EBF011400D9; Tue, 30 Apr 2024 14:32:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 30 Apr 2024 14:32:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beccati.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1714501943; x=1714588343; bh=3c/DIUj7WCnWmTbD6DW7+zGhlfk/w1gLSQ2H/7yHfJA=; b= Vm4jW0xhZE0xRv4qqzTAa56W+/pUQGoxkhZraf4dS1VSOeWcBl8iW+hZ9J0g49qt Zj/1KWnhB2FEerhlGVqeK+CKyzk+ztzRssWKA3L5bdnhBm1TFk1ntp9IabM5pR58 L7TAOBiy0iEtps5p8xct4uDQAA98gkS/VcMtggEbmGfePwhLXqJQBqb1H7QgLRVh ZhGO8Z9ohywNNZX4Y1kjjE8CLsSqTtiX4S2wVK7z+PeY9r6m62PXEBEHHDK98+GV n5Usb2FkI9mmHvo8QhzTqDItco4T/9TY+kGh3aDWSu7C9X/vUtmvuaYxzlvzBtoL c7lPocaghjMSWG7WeR+Xvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714501943; x= 1714588343; bh=3c/DIUj7WCnWmTbD6DW7+zGhlfk/w1gLSQ2H/7yHfJA=; b=A OO30YUWAi56ZUTmGuyT9WrA4OgbVI6vq0uy8Ur5y4XbrLrrZDGvHR6mihh6oNPoY 3sBqQUx/2Uoz4skky7bAY0vy1z6edpz9Fsm5Wm4XaIQotSMivRYaRLL2stlEyQH/ 7VV7b6DiSKOr/VBGvoCuArd9vMvdz1EVuITN/AuQs7bTTNX6yShG8r3PYNUibHL0 X+yT+t0UX1yPWBE7Ddbo1HPyJTeQleppEMAwfiTpBGU21/BIbl1usngx2nh+gg0L ee3QacnD0sIJYgJEcKLdAKxMDu0js+CMEngD1D0EaugyEOMNFU7wR0YJKTZboO4o UK2iGZggRlVbaPTze25XQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddufedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfhuffvvehfjggtgfesthejredttddvjeenucfhrhhomhepofgr thhtvghouceuvggttggrthhiuceophhhphessggvtggtrghtihdrtghomheqnecuggftrf grthhtvghrnhepffdvtdetuefhlefhieejteeiieeljedtkefggefgffdtgeduffefheeu gfehvefgnecuffhomhgrihhnpegvgihtvghrnhgrlhhsrdhiohdpsggvtggtrghtihdrtg homhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehp hhhpsegsvggttggrthhirdgtohhm X-ME-Proxy: Feedback-ID: i6f4c46c2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 Apr 2024 14:32:21 -0400 (EDT) Message-ID: <6b2e7c73-0f21-4d3a-9db8-01184ae120fb@beccati.com> Date: Tue, 30 Apr 2024 20:32:18 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PHP-DEV] Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver To: Arvids Godjuks Cc: Saki Takamachi , PHP internals References: Content-Language: it In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: php@beccati.com (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 > 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/