php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27390 ibase_trans wrong transaction argument
Submitted: 2004-02-25 05:28 UTC Modified: 2004-02-25 05:35 UTC
From: cryo28 at rbcmail dot ru Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.5RC3 OS: Any
Private report: No CVE-ID: None
 [2004-02-25 05:28 UTC] 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


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-25 05:30 UTC] cryo28 at rbcmail dot ru
Sorry. IBASE_COMMITED != IBASE_COMMITTED.
 [2004-02-25 05:35 UTC] irchtml@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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Aug 17 01:01:29 2024 UTC