#26517 [Opn->Csd]: "link_identifier" clearer as "transaction_identifier"

From: Date: Fri, 17 Sep 2004 08:32:32 +0000
Subject: #26517 [Opn->Csd]: "link_identifier" clearer as "transaction_identifier"
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969364109@lists.php.net to get a copy of this message
ID: 26517 Updated by: vrana@php.net Reported By: danielc at analysisandsolutions dot com -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment: 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(). Previous Comments: ------------------------------------------------------------------------ [2004-01-11 13:19:52] 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-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

« previous php.doc (#969364109) next »