| Anonymous | Login | Signup for a new account | 10-31-2025 07:43 PDT | 
| Main | My View | View Issues | Change Log | Docs | 
| 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 | |||||||||
|  | |||||||||
| Mantis 1.0.0rc3[^]
	Copyright © 2000 - 2005 Mantis Group
	29 total queries executed. 26 unique queries executed. |