#27390 [Opn]: ibase_trans wrong transaction argument
| From: | cryo28 at rbcmail dot ru | Date: | Wed, 25 Feb 2004 10:30:15 +0000 |
| Subject: | #27390 [Opn]: ibase_trans wrong transaction argument | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359221@lists.php.net to get a copy of this message | ||
ID: 27390
User updated by: cryo28 at rbcmail dot ru
Reported By: cryo28 at rbcmail dot ru
Status: Open
Bug Type: Documentation problem
Operating System: Any
PHP Version: 4.3.5RC3
New Comment:
Sorry. IBASE_COMMITED != IBASE_COMMITTED.
Previous Comments:
------------------------------------------------------------------------
[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