[PHP-DOC] #27390 [Opn]: ibase_trans wrong transaction argument

2004-02-25 Thread cryo28 at rbcmail dot ru
 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


[PHP-DOC] #27390 [NEW]: ibase_trans wrong transaction argument

2004-02-25 Thread cryo28 at rbcmail dot ru
From: cryo28 at rbcmail dot ru
Operating system: Any
PHP version:  4.3.5RC3
PHP Bug Type: Documentation problem
Bug description:  ibase_trans wrong transaction argument

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 bug report at http://bugs.php.net/?id=27390&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27390&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27390&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=27390&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=27390&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27390&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=27390&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=27390&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=27390&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=27390&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=27390&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=27390&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=27390&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27390&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=27390&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=27390&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=27390&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27390&r=float