PHP 4.0 Bug #7152: Can't close a connexion to a database
| From: | maranaivoson at ingenosya dot mg | Date: | Thu, 12 Oct 2000 08:24:17 +0000 |
| Subject: | PHP 4.0 Bug #7152: Can't close a connexion to a database | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34742@lists.php.net to get a copy of this message | ||
From: maranaivoson@ingenosya.mg
Operating system: LINUX REDHAT 6.1
PHP version: 4.0.2
PHP Bug Type: Informix related
Bug description: Can't close a connexion to a database
I use Informix 7.3 Dynamic Server
<html>
<body>
<?
$id = ifx_pconnect ('societe') ;
$requete = "select * from utilisateur" ;
$st_id = ifx_prepare ($requete, $id) ;
ifx_do ($st_id) ;
ifx_free_result ($st_id) ;
ifx_close ($id) ;
?>
</body>
</html>
after that if I do a non-Select query it returns an error like "ISAM error : File locked"
Any idea will be welcome.
Note that it gives the same result even if I use ifx_connect instead of ifx_pconnect.
--
Edit Bug report at: http://bugs.php.net/?id=7152&edit=1