[PHP-DEV] PHP 4.0 Bug #7807: core dump From: amit <email protected>
Date: 11/14/00

From: amit <email protected>
Operating system: linux red hat 7.0
PHP version: 4.0.3pl1
PHP Bug Type: ODBC related
Bug description: core dump

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.***
?>

-- 
Edit Bug report at: http://bugs.php.net/?id=7807&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>