Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: MySQL row_count and DBI

by msh210 (Monk)
on Apr 14, 2016 at 15:04 UTC ( [id://1160409]=note: print w/replies, xml ) Need Help??


in reply to Re^2: MySQL row_count and DBI
in thread MySQL row_count and DBI

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.)

$_="msh210";$"=$\;@_=@{[split//,uc]}[2,0];$_="@_$\1";$\=$/;++$_[0]for$...1;print lc substr crypt($_,"@_"),1,6

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1160409]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-24 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found