note 129146 added to pdo.intransaction

From: Date: Sun, 07 Jan 2024 10:02:30 +0000
Subject: note 129146 added to pdo.intransaction
Groups: php.notes 
Request: Send a blank email to php-notes+get-221100@lists.php.net to get a copy of this message
With respect to SQLite, this method does not always return the correct result. This applies to errors including SQLITE_FULL, SQLITE_IOERR, SQLITE_NOMEM, SQLITE_BUSY, and SQLITE_INTERRUPT. According to the documentation, these errors can cause an automatic rollback. The method does not take this into account (because it uses PDO's internal tracking mechanism). However, SQLite has a way to find out whether the transaction was automatically rolled back or not. By using sqlite3_get_autocommit() C-language function. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 46.39.51.214) ---- Manual Page -- https://php.net/manual/en/pdo.intransaction.php Edit -- https://main.php.net/note/edit/129146 Del: integrated -- https://main.php.net/note/delete/129146/integrated Del: useless -- https://main.php.net/note/delete/129146/useless Del: bad code -- https://main.php.net/note/delete/129146/bad+code Del: spam -- https://main.php.net/note/delete/129146/spam Del: non-english -- https://main.php.net/note/delete/129146/non-english Del: in docs -- https://main.php.net/note/delete/129146/in+docs Del: other reasons-- https://main.php.net/note/delete/129146 Reject -- https://main.php.net/note/reject/129146 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221100) next »