Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113292 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 57557 invoked from network); 26 Feb 2021 17:44:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Feb 2021 17:44:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2C0E61804D0 for ; Fri, 26 Feb 2021 09:33:22 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 26 Feb 2021 09:33:21 -0800 (PST) Received: by mail-wr1-f44.google.com with SMTP id a18so1131718wrc.13 for ; Fri, 26 Feb 2021 09:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=p85gl1EADxK/McnVzXm15LNGXsizPSMhJiB6E9pw2n8=; b=BAsL10VCKO+mv60Z99w7umZkterJpXC7gT46RbN/yjelZgPdwd36aHd14PbFCNHUUV NIRCDyGZVKyslp0S/jzHktmTNnmBtJEPpX5B1ecScGuinRRDRwynTUbCsoQLtJ/41qb1 8EEnZB5/KQaVK/h8vliiY+KxwN52lPffOinSbCAhEx3cwrtnY+BZmxuOfs5LIBhnAtBz ySViIeBqdKYHgXm3Bo9ON1fxasCRSFJzRRzJCXvkaRv5u6dvi1chTMPg30+7/xKO2BLf S3SIpp3FJQrxY2ojdulueSQ8VXESM1P6sbarbYKkN0dvmgghtnfFXji5/+hqG4L3M+AS u8RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=p85gl1EADxK/McnVzXm15LNGXsizPSMhJiB6E9pw2n8=; b=RrkWmbGSGvn1WfQVOukNSZAnI4HZwVO00Z4AzD2wp6XS/VfZ/gNSdgegnpptA5QW5c Ul8zuCkERbFzZPWgnGQRpj9DWKhhhr6YUpcK6Xnu7TH73kNavx3IcyGIJyPr/NCF20T2 PqD1MDW1pQpp3aOZqqPJkEiuinTRwwtJNQnWqVshO5ZnRHUTH8b2Y6qGTbh01c62gSpP spOcMH0vjU4VrnmiyHPJE4rnNgjTcfjcr7EdXmjfArCGXRnv7XPqqCZ+fuaqzN46rQgY hdy/O8Xp8zP4auoZ+mcK9jUWuOgGyttYEURjXjXHQ3RiYv3Vv66JFCKObTp4manSAGxO oCEQ== X-Gm-Message-State: AOAM530jAVh3c3NiEo5+IsoPA1/gdV5/SO352CEKjJn3h1sx2cNDKhZs nBWAzESBCD3p6KN0TzR5BIo= X-Google-Smtp-Source: ABdhPJz9o7uvY8uiD3qXtYgfcQVKm9bW62bjFACzmpUr5yOGceD0KlOJ6Djdkr6xWfH1R9v6kX/tvQ== X-Received: by 2002:a5d:6205:: with SMTP id y5mr4351227wru.238.1614360800517; Fri, 26 Feb 2021 09:33:20 -0800 (PST) Received: from claude.fritz.box ([89.249.45.14]) by smtp.gmail.com with ESMTPSA id e17sm16596512wro.36.2021.02.26.09.33.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Feb 2021 09:33:20 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) In-Reply-To: Date: Fri, 26 Feb 2021 18:33:18 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Daniel Beardsley X-Mailer: Apple Mail (2.3608.120.23.2.4) Subject: Re: [PHP-DEV] RFC: PDO MySQL get warning count From: claude.pache@gmail.com (Claude Pache) > Le 26 f=C3=A9vr. 2021 =C3=A0 17:45, Daniel Beardsley = a =C3=A9crit : >=20 > Hi, >=20 > I've gotten very little feedback on the "should I make an RFC about = this?" > question, so I went ahead and made an RFC: > https://wiki.php.net/rfc/pdo-mysql-get-warning-count >=20 > This is about a feature in an open pull request: > https://github.com/php/php-src/pull/6677 > which addresses an open issue in the bug tracker: > https://bugs.php.net/bug.php?id=3D51499 >=20 > Thanks for your consideration! >=20 > Daniel Hi, Warning count is one of the feature of mysqli that is missing in PDO. = Last time I checked, there was no equivalent of mysqli_info(), which = allows me (among other things) to retrieve the number of matched rows = (in addition to the number of affected rows), and this is a blocker for = me for switching from mysqli to PDO (in case I would want to switch for = some reason). It may be appropriate to review other useful features of mysqli that are = missing in PDO? =E2=80=94Claude