Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123239 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 2C8101A009C for ; Tue, 30 Apr 2024 16:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714495931; bh=GiPla6t2Ogs10gxYFbtxvB6t3X7WZucs2pE7lEeVaik=; h=From:Date:Subject:To:Cc:From; b=lzAZegctMMPAmf1/R4c/OgFO018Q3CEY9+DVHsEiEae2GoEuQEAk6RrnVNyt0ay8d wEoeHqb8Fv0a2huxQDM5jKxk28SqWJJ4P5705NEw32xAlt9TSetSB8zJzulv/MRW3L eg/hpn5DsNDNFQ7SBVszjVY5aFdsHEzM1WhQDrdoK0fOmzr2yOvrRdzUoBp6xKDP0z uR9KWACtTBJ4snlc883t7yIsFvc642BIBblKxhy/DFVy7NM3DGJWV01eVFiruj/G8e GIoA1VZ2EGAm16qmUO45uxSQQzL+gbHuWM+vqRhHEKLU9xMNN2ghtYl5vuY4BmPQNs x3r7dq2Fkjtrw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3FE18180055 for ; Tue, 30 Apr 2024 16:52:11 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 16:52:10 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-34d8f6cfe5bso536190f8f.3 for ; Tue, 30 Apr 2024 09:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714495885; x=1715100685; darn=lists.php.net; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=GiPla6t2Ogs10gxYFbtxvB6t3X7WZucs2pE7lEeVaik=; b=nBiwRoJMB3qV2jMi3uH8k68L9Vo3xZagQH6Tb1AkXl32nRVxUFhoQv0b2fyiWGuAvv LDdEQcb5IdPCzlW/0bOgGYKQymjZ8Du9oXeKG8K5pjoAv/VPpWQ/PvvtMwjXRpoBWRpp OUz8WoSqVJ4YQZx5lsxaCl6vpSBOTr/jy3mxuO86U3EL7ItouLD8diitU8ZXDwLKQTRa /F3Rvz6PpP2fUskk+RH+vqxQghAkbF7BmKNS8tIYwuXsU8bTwBQXeOzGeOI31D9faAoB +JI0uvsOwqH85UzPz+a0vIADjy/Cgq0ZxCXYWPioe0MhzWtTexS4Fiw0JzHiLqlpAj2i zG2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714495885; x=1715100685; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GiPla6t2Ogs10gxYFbtxvB6t3X7WZucs2pE7lEeVaik=; b=T0fdhwXpczCfwV62TEizrYN+PUpPjQZ1Q63Mp5cstnLYv+Fa/eVVIV/NDpH+cQENCY 7sC9xvlWExgOWYHis36LAicBV5Ah4DY/W/2RjXbsJ3/WE5mbF9tsctz7x/wNfwJMsRgv iWQ32ufDueZEN569dQBXgABiv4ez6Q/tiu4EH8ChcnvFa7E6hSgDNgF+eFO3wGaXgL04 HruIL46yNm4jR4OJtA6R4hzFiAyKv7Ac3SMd9PfmuCHb5Gl4B3ZDZatlqFDawsPlevWh 1ER5dPM/i1R6Wquoh9s+gMIcBPorLmoS/FuSzOqYd+sOs9JGXYoJ4+U1t9D0HBC/6tDq +KWA== X-Gm-Message-State: AOJu0YzXrjTTMciGUxKR0mKolfXEYwG4CLDZDHdFaKaLRei/1ylj/6z2 q0zmrZBMiRBWLGLCyhnsiPS1fxxGEMXvBl9ulGDUPav6PoJZX9Wue/fNqtBAsaEc/qN3hNbKdRi b7cRSoiOGhtIyhMDHNN2N+QCbiAnCSFVJ X-Google-Smtp-Source: AGHT+IHmHW7gZObCMbgtbSkJGFTOBGB9Xp3wxAFk3rJ0if84r/LFzAxd+02B0Tdm7yDtBW63bmKTToZY8FcNT6NbzR4= X-Received: by 2002:a5d:5269:0:b0:343:e02f:1a46 with SMTP id l9-20020a5d5269000000b00343e02f1a46mr161056wrc.2.1714495885045; Tue, 30 Apr 2024 09:51:25 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Date: Tue, 30 Apr 2024 19:50:49 +0300 Message-ID: Subject: [PHP-DEV] Proposal to Create a MariaDB Alias for the MySQL PDO Driver To: PHP internals Cc: Saki Takamachi , Matteo Beccati Content-Type: multipart/alternative; boundary="0000000000003277ab0617532e57" From: arvids.godjuks@gmail.com (Arvids Godjuks) --0000000000003277ab0617532e57 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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? --=20 Arv=C4=ABds Godjuks +371 26 851 664 arvids.godjuks@gmail.com Telegram: @psihius https://t.me/psihius --0000000000003277ab0617532e57 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'm splitting this discussion from = https://externals.io/messag= e/123183, see details at=C2=A0https://externals.io/message/123183#123234 and https://externals.io/message/1= 23183#123236 to keep the original thread clean.

There's a cl= ear divergence in functionality between MySQL and MariaDB. As PDO evolves t= o accommodate database-specific drivers, it's sensible to introduce a M= ariaDB alias for the MySQL driver. Although the mysqlnd library handles net= working protocols for both, practical higher level usage increasingly deman= ds differentiation at the database layer, much like Doctrine's recent u= pdates requiring distinct identification of MariaDB vs. MySQL.

I pro= pose establishing a MariaDB namespace. This would allow for explicit implem= entation of database-specific functions and help in correctly mapping metho= ds and queries to the respective database.

Thoughts? Questions?

--

Arv=C4=ABds Godjuks
+371 26 85= 1 664
Telegram: @psihius=C2=A0https://t.me/psihius
<= /div>
--0000000000003277ab0617532e57--