Re: RFC: PDO MySQL get warning count

From: Date: Fri, 26 Feb 2021 17:33:18 +0000
Subject: Re: RFC: PDO MySQL get warning count
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-113292@lists.php.net to get a copy of this message

> Le 26 févr. 2021 à 17:45, Daniel Beardsley <dbeardsl@gmail.com> a écrit :
> 
> Hi,
> 
> 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
> 
> 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=51499
> 
> Thanks for your consideration!
> 
> 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?

—Claude


Thread (5 messages)

« previous php.internals (#113292) next »