Ah, but now I've tried an on duplicate key update where the update didn't actually change anything (the value to update to was there already), and select row_count() gave 0, but execute returned 1. So they're not always the same.
(The query was insert foo(bar)value(1)on duplicate key update baz=1; and the table already had 1 in each column.)
In reply to Re^3: MySQL row_count and DBI
by msh210
in thread MySQL row_count and DBI
by msh210
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |