note 74819 added to function.mysqli-stmt-affected-rows

From: Date: Sun, 29 Apr 2007 05:51:16 +0000
Subject: note 74819 added to function.mysqli-stmt-affected-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-125954@lists.php.net to get a copy of this message
I'm not sure whether or not this is the intended behavior, but I noticed through testing that if you were to use transactions and prepared statements together and you added a single record to a database using a prepared statement, but later rolled it back, mysqli_stmt_affected_rows will still return 1. ---- Server IP: 69.147.83.197 Probable Submitter: 67.158.190.140 ---- Manual Page -- http://www.php.net/manual/en/function.mysqli-stmt-affected-rows.php Edit -- https://master.php.net/note/edit/74819 Del: integrated -- https://master.php.net/note/delete/74819/integrated Del: useless -- https://master.php.net/note/delete/74819/useless Del: bad code -- https://master.php.net/note/delete/74819/bad+code Del: spam -- https://master.php.net/note/delete/74819/spam Del: non-english -- https://master.php.net/note/delete/74819/non-english Del: in docs -- https://master.php.net/note/delete/74819/in+docs Del: other reasons-- https://master.php.net/note/delete/74819 Reject -- https://master.php.net/note/reject/74819 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125954) next »