sagarswathi / h2database

Automatically exported from code.google.com/p/h2database
0 stars 1 forks source link

RunScript.execute does not close ScriptReader and Statement. #375

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Fix attached.

Original issue reported on code.google.com by arg...@gmail.com on 27 Jan 2012 at 9:06

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

The connection is closed, and the input stream is closed.

Why does the statement and the ScriptReader need to be closed as well?

Regards,
Thomas

Original comment by thomas.t...@gmail.com on 30 Jan 2012 at 6:32

GoogleCodeExporter commented 8 years ago
Closing invalid. I will reopen if required.

Original comment by thomas.t...@gmail.com on 3 Feb 2012 at 2:19