ID:               24097
 Updated by:       [EMAIL PROTECTED]
 Reported By:      benji at autec dot es
-Status:           Assigned
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows XP Professional
 PHP Version:      4.3.2
 Assigned To:      daniela
 New Comment:

Already fixed.


Previous Comments:
------------------------------------------------------------------------

[2003-06-15 17:00:16] [EMAIL PROTECTED]

reclassified


------------------------------------------------------------------------

[2003-06-09 22:37:12] [EMAIL PROTECTED]

Both ibase_commit() and ibase_rollback() are affected. 
The protos for them say the link parameter is optional, but 
you should still be able to give it both parameters.
(to be able to handle multiple db connections in same script)

_php_ibase_trans_end() has missing 'case 2:' in the 
switch(), so you can not give it both the connection link 
and transaction as parameters, just either or.

Daniela, can you take a look? 


------------------------------------------------------------------------

[2003-06-09 10:44:43] benji at autec dot es

When you do a:
ibase_rollback( $connection, $trans);

both parameters being correct.

This function returns a warning message claiming wrong parameter count.
but works fine anyway.

Also if you call:
ibase_rollback( $trans); 

Function does not give any error message.

The documentation says:
int ibase_rollback ( [int link_identifier, int trans_number] )

May be it is an error of the documetation...


Thank you php team,

Ben


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24097&edit=1

Reply via email to