Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Minor
 - 
    Resolution: Fixed
 - 
    None
 - 
    None
 
Description
To identify parameter meta data, when useServerPrepStmts=false, driver will execute a COM_STMT_PREPARE (prepare command) so server return parameters informations.
If query cannot be prepare, a SQL exception will be throw without closing this PREPARE command, creating a leak.