Anonymous | Login | Signup for a new account | 10-30-2024 04:14 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.2.1 | Product Version | 3.2.1 | ||||
Product Build | |||||||||
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); |
||||||||
Steps To Reproduce | |||||||||
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. |