DDL export forgets to close a Statement

Description

Statements opened in GenerationTargetToDatabase are not being closed.

It's not a big deal as these connections are closed right away, and drivers in this case are requires to close the associated statements, but with some connection pools this produces unnecessarily scary warnings.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure