#26517 [Fbk->Opn]: "link_identifier" clearer as "transaction_identifier"
| From: | sp@php.net | Date: | Sun, 11 Jan 2004 18:19:52 +0000 |
| Subject: | #26517 [Fbk->Opn]: "link_identifier" clearer as "transaction_identifier" | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358119@lists.php.net to get a copy of this message | ||
ID: 26517
Updated by: sp@php.net
Reported By: danielc at analysisandsolutions dot com
-Status: Feedback
+Status: Open
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-01-11 12:06:15] kennyt@php.net
What'd your testing show?
------------------------------------------------------------------------
[2003-12-05 18:34:54] 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.
------------------------------------------------------------------------
[2003-12-04 00:17:04] danielc at analysisandsolutions dot com
This also applies to function.ibase-rollback.php and
function.ibase-rollback-ret.php
------------------------------------------------------------------------
[2003-12-04 00:14:45] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26517&edit=1