php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #26517 "link_identifier" clearer as "transaction_identifier"
Submitted: 2003-12-04 00:14 UTC Modified: 2004-09-17 10:32 UTC
From: danielc at analysisandsolutions dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: danielc at analysisandsolutions dot com
New email:
PHP Version: OS:

 

 [2003-12-04 00:14 UTC] danielc at analysisandsolutions dot com
Description:
------------
In function.ibase-commit.php, the call definition says
"bool ibase_commit ( [resource link_identifier])"

It would be clearer to say
"bool ibase_commit ( [resource transaction_identifier])"
because "link_identifier" could be misconstrued to mean the database connection identifier.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-04 00:17 UTC] danielc at analysisandsolutions dot com
This also applies to function.ibase-rollback.php and function.ibase-rollback-ret.php
 [2003-12-05 18:34 UTC] danielc at analysisandsolutions dot com
Hmmm...  I now see that the docs say the link argument can be a connection id or a transaction id.

The reason I posted the bug was my test code didn't work properly when a connection id was used.

I will test further and report back.
 [2004-01-11 12:06 UTC] kennyt@php.net
What'd your testing show?
 [2004-01-11 13:19 UTC] sp@php.net
We should change the definition to
"bool ibase_commit ( [resource link_or_transaction_identifier] )"

because both things work. Either you can commit every transaction for a given database link or you can commit only a  given transaction.
 [2004-09-17 10:32 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

link_identifier changed to link_or_trans_identifier in ibase_commit(), ibase_commit_ret(), ibase_rollback() and ibase_rollback_ret().
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC