note 110781 added to sqlite3.changes

From: Date: Fri, 07 Dec 2012 06:12:34 +0000
Subject: note 110781 added to sqlite3.changes
Groups: php.notes 
Request: Send a blank email to php-notes+get-192381@lists.php.net to get a copy of this message
As noticed by krebs Sqlite3::changes() doesn't get incremented inside of a transaction. Neither does "select changes()", both here and in the sqlite3 shell, so this is a sqlite3 "feature". A work around is to use Sqlite3::querySingle("select total_changes()"); ---- Server IP: 113.20.13.217 Probable Submitter: 59.167.217.249 ---- Manual Page -- http://php.net/manual/en/sqlite3.changes.php Edit -- https://master.php.net/note/edit/110781 Del: integrated -- https://master.php.net/note/delete/110781/integrated Del: useless -- https://master.php.net/note/delete/110781/useless Del: bad code -- https://master.php.net/note/delete/110781/bad+code Del: spam -- https://master.php.net/note/delete/110781/spam Del: non-english -- https://master.php.net/note/delete/110781/non-english Del: in docs -- https://master.php.net/note/delete/110781/in+docs Del: other reasons-- https://master.php.net/note/delete/110781 Reject -- https://master.php.net/note/reject/110781 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192381) next »