Bug #7807 Updated: core dump
| From: | kalowsky@php.net | Date: | Tue, 17 Apr 2001 02:05:46 +0000 |
| Subject: | Bug #7807 Updated: core dump | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51739@lists.php.net to get a copy of this message | ||
ID: 7807
Updated by: kalowsky
Reported By: amit@zend.com
Old-Status: Open
Status: Closed
Bug Type: ODBC related
PHP Version: 4.0.3pl1
Assigned To:
Comments:
should be fixed in cvs now
Previous Comments:
---------------------------------------------------------------------------
[2000-11-14 07:24:02] amit@zend.com
the problem is that the odbc_autocommit function has an option to be sent
only with the connection id parameter, and in that case it should return us
the status of the autocommit (0 or 1).
in this short script when sent with no optional parameter the function produces "core
dump".
<?php
$id = odbc_connect("zendtest", "db2inst1", "********");
$status = odbc_autocommit($id);//***this function crashe the system if send with no second
parameter.***
?>
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7807&edit=2