php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69813 mysqli::begin_transaction missing $flags documentation
Submitted: 2015-06-12 13:35 UTC Modified: 2015-09-03 22:00 UTC
From: contact at sshilko dot com Assigned: philip (profile)
Status: Closed Package: MySQLi related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: contact at sshilko dot com
New email:
PHP Version: OS:

 

 [2015-06-12 13:35 UTC] contact at sshilko dot com
Description:
------------
---
From manual page: http://www.php.net/mysqli.begin-transaction
---

Function accepts arguments, have a look at:
http://www.planet.mysql.com/entry/?id=36265

MYSQLI_TRANS_START_READ_WRITE
MYSQLI_TRANS_START_READ_ONLY


Use MYSQLI_TRANS_START_READ_ONLY is alias to raw 
<?php
$mysqli->query("START TRANSACTION READ ONLY")
?>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-12 13:37 UTC] contact at sshilko dot com
-Summary: missing documentation +Summary: mysqli.begin-transaction missing arguments documentation
 [2015-06-12 13:37 UTC] contact at sshilko dot com
mysqli.begin-transaction missing arguments documentation
 [2015-06-12 14:42 UTC] cmb@php.net
-Summary: mysqli.begin-transaction missing arguments documentation +Summary: mysqli::begin_transaction missing $flags documentation -Status: Open +Status: Verified
 [2015-06-12 14:43 UTC] cmb@php.net
-Package: Documentation problem +Package: MySQLi related
 [2015-09-03 21:43 UTC] philip@php.net
Automatic comment from SVN on behalf of philip
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=337739
Log: Added basic begin_transaction() (and related constants) documentation, as requested by PHP Bug #69813
 [2015-09-03 22:00 UTC] philip@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: philip
 [2015-09-03 22:00 UTC] philip@php.net
Thank you for the helpful bug report, this is now documented. The changes will show up online shortly.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 02:00:01 2026 UTC