mogul has asked for the wisdom of the Perl Monks concerning the following question:
I'm using DBI to access a MySQL database. I do updates.
Is it possible to get both the number of rows matched and the number of rows changed? The MySQL CLI easily reports both like:
I have tried to change mysql_client_found_rows, but that only let me choose which one I get. I need both!Rows matched: 1 Changed: 0 Warnings: 0
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl, MySQL and the work done
by kschwab (Vicar) on Mar 20, 2013 at 22:23 UTC | |
Re: Perl, MySQL and the work done
by McA (Priest) on Mar 20, 2013 at 22:38 UTC | |
Re: Perl, MySQL and the work done
by rnewsham (Curate) on Mar 20, 2013 at 22:55 UTC |
Back to
Seekers of Perl Wisdom