Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002911 [Quercus] minor always 09-05-08 20:21 09-05-08 22:06
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0002911: Calling mysql_close() twice results in NPE
Description The following buggy PHP code causes an NPE instead of a warning message as in vanilla PHP:

<?php
$conn = mysql_connect('1.2.3.4', 'user', 'pass');
mysql_close($conn);
mysql_close($conn);
Additional Information Tested with connection pooling turned off. Might not be a problem with pooling turned on. This is low priority -- obviously calling close() twice like this is an application bug.
Attached Files

- Relationships

- Notes
(0003403)
nam
09-05-08 22:06

php/143h
 

- Issue History
Date Modified Username Field Change
09-05-08 20:21 koreth New Issue
09-05-08 22:00 nam Status new => assigned
09-05-08 22:00 nam Assigned To  => nam
09-05-08 22:06 nam Status assigned => closed
09-05-08 22:06 nam Note Added: 0003403
09-05-08 22:06 nam Resolution open => fixed
09-05-08 22:06 nam Fixed in Version  => 3.2.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker