Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123244 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 44CEB1A009C for ; Tue, 30 Apr 2024 21:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714512881; bh=JyrVfkhnNvaNtvlyOxmYA4X8ZyQn6dhV1GtGS2hWKi0=; h=References:In-Reply-To:From:Date:Subject:To:From; b=j3+Eh0jvYe47YlvY2+X/PGXlMDDcSdURQ48APOWWVjl8eEOt2Kw5kViSwUiTAyYkZ vug1ptZzD9W5FzF8M6k2z2wtimLoxIT8+RQIYCqoh0ABtFXE9w3/jv79n3v5C/eHNV XtiDDE85iV57wBGiV0VYUcAjqu00tuaeuA94HKbvD5pTx76kf5S6RWy3E9HL56S1ZK anST/1rzKYf/8mVmddLObjzhjSuxkmMxjd1LfgeGEjVFMA92gzO8TXhYoHgDxj9kRR 5wfKqV63cjLYGKb95C5S7hZqA1806Yr5Ii3bRLO7jnaZ8wvGr/VzqFM/Oo/JAjJqa5 1253Vz1Wpz0Sg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7DD441801C7 for ; Tue, 30 Apr 2024 21:34:38 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,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-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 21:34:37 +0000 (UTC) Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2dae975d0dcso2714921fa.1 for ; Tue, 30 Apr 2024 14:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714512832; x=1715117632; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=JyrVfkhnNvaNtvlyOxmYA4X8ZyQn6dhV1GtGS2hWKi0=; b=K+C+RZWC1QRyhUEhI6HuJdy/ms4S6mUIPTYLYVlMM9F2ZPqXmfrMwrMr/HnTmm3Vzy LMG71A3R+0/vipY68J14kP33k+IvBpssgxRRIhV5WhI48msdL2GlbXGGJ5u7/wDfeYKk hho1O+P8uVuUCoEUdz3+7hkObtGxCw7sstgGkcFyotPBDz92xAlcAOVtVIZYvHCBKezH pZunbxS6339rSCSNZpiZIG5rLGQcaiqJ3h/FOS59qzZIrRm3OYA05+y0ZgvtNMeTik51 rP2N74hsQAWtUeRIZhmJc8EPGdlKZxg5ilgZifGEREUZ24G2G1M4QoPVugZfPMKCu0Xo iiCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714512832; x=1715117632; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JyrVfkhnNvaNtvlyOxmYA4X8ZyQn6dhV1GtGS2hWKi0=; b=XUm7MYtTrPHj/lsjONJms4UaMtpffgIMyPhhy6FJ1UrWilPR1VvJAr6OfAArpyORUG 0suAeG/QrRpJ1NqiPY4BOy6c//EpOGfUTWM/hFsHzGafG9yuvVbhfCNUZw89+s7g4EAI HXvPmWbWQSAwxGyoR1l1gQiApNwhyaSLnS2H3C+1aiJjqPUPGY4y32p+7wztdIlWzu1/ IGhIFdaANLuZ+gyXKCTh4BofLAA9BwiB7aaaEAiQ6X0WSgO+1nCrcwwpxKeCZz/SjBoV vOjo437nrSLctAdvkk372Cil7h+TuAkl4sqMsCViPBfgqD4vg1GODs9PNwfMdcEhVF53 csmQ== X-Gm-Message-State: AOJu0Yy2uKC1KQIs1bicqdVhEc/4UfdxDVmMPijxmSXwprtWk0JT6ctI siq95U+Zq44UlRsvj8mVqSZ5pICE5x07e1pbR7NPywbWu2PID/PcrNW2zZuMAlADgRfqPn95Jde 4+G3zJY/FRnV0Fuk2l1UrsCFVLslsT8+Y X-Google-Smtp-Source: AGHT+IGlK5hvTJ6ss3JIi+qB0VRg23YGlk/l5q8bLIycBHHmqCbeLqKd3cmcxaIHgQyZLoctfH+E2udnKLoLLTaihyM= X-Received: by 2002:a2e:8195:0:b0:2d8:79d6:454d with SMTP id e21-20020a2e8195000000b002d879d6454dmr288216ljg.23.1714512831618; Tue, 30 Apr 2024 14:33:51 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: <6b2e7c73-0f21-4d3a-9db8-01184ae120fb@beccati.com> In-Reply-To: Date: Tue, 30 Apr 2024 23:33:39 +0200 Message-ID: Subject: Re: [PHP-DEV] Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver To: PHP internals Content-Type: text/plain; charset="UTF-8" From: tekiela246@gmail.com (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 then it would make sense to have PDO_mariadb extension. But that is unlikely to happen any time soon. The purpose of PDO subclasses is to offer driver specific functionality and differentiate SQL syntax flavours. MariaDB and MySQL use the same driver so they offer the same functionality and they use the same SQL syntax (at least the parts that matter). And we must remember that MariaDB is not the only MySQL-like DB out there. We are not going to create a name alias for every possible fork of MySQL that ever exists. It would be pointless.