Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: make sure to close mem acc of prepared stmt in case of an error
Previously, it was possible that we would not close the memory account created for a prepared statement when an error is encountered. This was the case because we would not include the prepared stmt into the prep stmts namespace, so it would just get lost. However, up until recently this was not an issue since we mistakenly cleared that memory account when creating the prepared statement. Release note: None
- Loading branch information