#24097 [Asn]: ibase_rollback warning message
| From: | sniper@php.net | Date: | Sun, 15 Jun 2003 22:00:16 +0000 |
| Subject: | #24097 [Asn]: ibase_rollback warning message | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969354484@lists.php.net to get a copy of this message | ||
ID: 24097
Updated by: sniper@php.net
Reported By: benji at autec dot es
Status: Assigned
-Bug Type: InterBase related
+Bug Type: Documentation problem
Operating System: Windows XP Professional
PHP Version: 4.3.2
Assigned To: daniela
New Comment:
reclassified
Previous Comments:
------------------------------------------------------------------------
[2003-06-09 22:37:12] sniper@php.net
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