Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2911 | minor | always | 09-05-08 20:21 | 09-05-08 22:06 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.2.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in 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); |
||||
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. | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|