Doc #60213 [Opn->Csd]: MySQL supports inTransaction

From: Date: Sat, 03 Dec 2011 23:25:25 +0000
Subject: Doc #60213 [Opn->Csd]: MySQL supports inTransaction
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7531@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60213&edit=1 ID: 60213 Updated by: frozenfire@php.net Reported by: mcnaney at gmail dot com Summary: MySQL supports inTransaction -Status: Open +Status: Closed Type: Documentation Problem Package: PDO related Operating System: Linux PHP Version: 5.3.8 -Assigned To: +Assigned To: frozenfire Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2011-12-03 23:25:17] frozenfire@php.net Automatic comment from SVN on behalf of frozenfire Revision: http://svn.php.net/viewvc/?view=revision&revision=320330 Log: Removed Postgre-only note. Clarified that it's available for drivers that support transactions. Closes bug #60213. ------------------------------------------------------------------------ [2011-11-03 17:06:06] mcnaney at gmail dot com Description: ------------ --- From manual page: http://www.php.net/pdo.intransaction --- The note for this page claims it is only supported in PostgreSQL. I am getting positive results in MySQL. This issue was mentioned with MySQL 5 in a previous bug report in 2007. Cheers Test script: --------------- var_dump($pdo->inTransaction()); $pdo->beginTransaction(); var_dump($pdo->inTransaction()); For the above I get: int 0 int 1 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60213&edit=1

« previous php.doc.bugs (#7531) next »