#27390 [Opn->Csd]: ibase_trans wrong transaction argument
| From: | irchtml@php.net | Date: | Wed, 25 Feb 2004 10:35:59 +0000 |
| Subject: | #27390 [Opn->Csd]: ibase_trans wrong transaction argument | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359223@lists.php.net to get a copy of this message | ||
ID: 27390
Updated by: irchtml@php.net
Reported By: cryo28 at rbcmail dot ru
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Any
PHP Version: 4.3.5RC3
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.
Previous Comments:
------------------------------------------------------------------------
[2004-02-25 05:30:15] cryo28 at rbcmail dot ru
Sorry. IBASE_COMMITED != IBASE_COMMITTED.
------------------------------------------------------------------------
[2004-02-25 05:28:36] cryo28 at rbcmail dot ru
Description:
------------
PHP Manual. Interbase functions -> ibase_trans.
Begins a transaction.
trans_args can be a combination of IBASE_READ, IBASE_WRITE,
IBASE_COMMITED, IBASE_CONSISTENCY, IBASE_CONCURRENCY,
IBASE_REC_VERSION, IBASE_REC_NO_VERSION, IBASE_WAIT and IBASE_NOWAIT.
IBASE_COMMIT != IBASE_COMMITT as defined in php_interbase
Reproduce code:
---------------
$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITED,
IBASE_REC_VERSION, $dbci->connection);
Notice: Use of undefined constant IBASE_COMMITED - assumed
'IBASE_COMMITED' in D:\inet\wwwroot\online_sales_procs.inc.php on line
265
$tr = ibase_trans(IBASE_WRITE, IBASE_WAIT, IBASE_COMMITTED,
IBASE_REC_VERSION, $dbci->connection);
NO notices or warnings
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27390&edit=1