You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/03/30 06:58:05 UTC
[jira] [Created] (DERBY-5163) [patch] fix up sql cleanup handling
[patch] fix up sql cleanup handling
-----------------------------------
Key: DERBY-5163
URL: https://issues.apache.org/jira/browse/DERBY-5163
Project: Derby
Issue Type: Improvement
Components: Tools
Affects Versions: 10.7.1.1
Reporter: Dave Brosius
Priority: Trivial
Fix For: 10.8.0.0
Attachments: sql_cleanup_fixes.diff
When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Lily Wei (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027002#comment-13027002 ]
Lily Wei commented on DERBY-5163:
---------------------------------
Thanks Dave and Kathey. The patch looks good to me. I did not see test failure on ToolsScripts. Suites.all passed on trunk with the patch. I am running derbyall now. If there is no objection, I will check-in the patch shortly.
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.2
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated DERBY-5163:
--------------------------------
Attachment: (was: sql_cleanup_fixes.diff)
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.2
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated DERBY-5163:
--------------------------------
Attachment: sql_cleanup_fixes.diff
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.0.0
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated DERBY-5163:
--------------------------------
Attachment: sql_cleanup_fixes.diff
Cleanup patch so that we don't close statements when resultsets from those statements are still active.
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.1
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020634#comment-13020634 ]
Kathey Marsden commented on DERBY-5163:
---------------------------------------
Thank you Dave for the quick response. Could you run suites.All and derbyall if you haven't already to verify there are no additional issues with the regression tests? It is always good to post the test results with patches.
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.1
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Lily Wei (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13013821#comment-13013821 ]
Lily Wei commented on DERBY-5163:
---------------------------------
Thanks Dave for the patch. I run some tests with this patch. When I run 'java -Dderby.tests.trace=true -Dderby.tests.debug=true junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.tools.ToolScripts', I got 4 failures.
Here is some stacktrace:
1) ij_show_roles_dbo(org.apache.derbyTesting.functionTests.tests.tools.ToolScrip
ts)junit.framework.ComparisonFailure: Output at line 3 expected:<ROLEID
> but was:<ERROR XJ012: 'Statement' already closed.>
at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon
(CanonTestCase.java:109)
at org.apache.derbyTesting.functionTests.util.ScriptTestCase.runTest(Scr
iptTestCase.java:201)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:
112)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57
)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57
)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.0.0
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren updated DERBY-5163:
--------------------------------------
Fix Version/s: (was: 10.8.1.5)
10.9.0.0
Correcting fix version; this is *not* in 10.8 branch, but eligible for backport (even though marked improvement).
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 10.9.0.0
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Lily Wei (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020720#comment-13020720 ]
Lily Wei commented on DERBY-5163:
---------------------------------
Thanks Dave and Kathey. When I post a patch, I usually run suites.All and derbyall using the following script:
java -client -Dderby.tests.trace=true -XX:MaxPermSize=192M -Xmx1024M -Xms512M -D
derbyTesting.oldReleasePath=c:/derby/oldrelease/jars junit.textui.TestRunner org
.apache.derbyTesting.functionTests.suites.AllPackages 2>&1 | tee rjall.out
and
java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall 2>&1 | tee
djall.out
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.1
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated DERBY-5163:
--------------------------------
Attachment: (was: sql_cleanup_fixes.diff)
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.1
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated DERBY-5163:
--------------------------------
Attachment: sql_cleanup_fixes.diff
ran the following
java -classpath tools/java/junit.jar:tools/java/jakarta-oro-2.0.8.jar:jars/sane/derbyTesting.jar:jars/sane/derby.jar:jars/sane/derbyTools.jar:jars/sane/derbyTools.jar:jars/sane/derbyrun.jar:jars/sane/derbynet.jar:jars/sane/derbyclient.jar -Xmx800m -XX:MaxPermSize=512m junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All
got no errors
Time: 21,886.483
OK (13459 tests)
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.2
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026363#comment-13026363 ]
Kathey Marsden commented on DERBY-5163:
---------------------------------------
I am sorry for the delay in responding. If you think the new patch is good can you check patch available and it will get back on the radar. Is derbyall clean as well l? I am not seeing the original path anymore. For future reference, I think it is good in general to keep the old ones there to see what's changed. Thank you so much for all your work on Derby!
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.2
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (DERBY-5163) [patch] fix up sql
cleanup handling
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026363#comment-13026363 ]
Kathey Marsden edited comment on DERBY-5163 at 4/28/11 4:22 PM:
----------------------------------------------------------------
I am sorry for the delay in responding. If you think the new patch is read for commit can you check patch available and it will get back on the radar. Is derbyall clean as well l? I am not seeing the original path anymore. For future reference, I think it is good in general to keep the old ones there to see what's changed. Thank you so much for all your work on Derby!
was (Author: kmarsden):
I am sorry for the delay in responding. If you think the new patch is good can you check patch available and it will get back on the radar. Is derbyall clean as well l? I am not seeing the original path anymore. For future reference, I think it is good in general to keep the old ones there to see what's changed. Thank you so much for all your work on Derby!
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.2
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated DERBY-5163:
--------------------------------
Issue & fix info: [Patch Available]
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.2
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Lily Wei (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020722#comment-13020722 ]
Lily Wei commented on DERBY-5163:
---------------------------------
FYI. I run Suites.all with the new patch and everything pass for me with the patch.
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.1
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-5163:
----------------------------------
Issue Type: Bug (was: Improvement)
Changing this to a bug. Looking at the change, I wonder if it is ok to completely throw away the errors closing statements. It would be nice to see those included with a setNextException() so all errors get reported.
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Bug
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 10.9.0.0
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Hillegas updated DERBY-5163:
---------------------------------
Fix Version/s: (was: 10.8.1.2)
10.8.1.3
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.3
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020735#comment-13020735 ]
Dave Brosius commented on DERBY-5163:
-------------------------------------
Thanks Lily, Kathey - i have a bear of a time getting the tests to all pass before these changes. I'm thinking the errors are memory related currently, hopefully i've got the special sauce going now, based on Lily's comments.
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.1
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kathey Marsden updated DERBY-5163:
----------------------------------
Issue & fix info: (was: [Patch Available])
Unmarking patch available as Lily discovered some test failures. Dave, have you seen these in your testing? Any idea what the issue might be?
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.1
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DERBY-5163) [patch] fix up sql cleanup handling
Posted by "Lily Wei (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lily Wei resolved DERBY-5163.
-----------------------------
Resolution: Fixed
Assignee: Dave Brosius
I've committed with revision 1098040. Thanks, Dave.
> [patch] fix up sql cleanup handling
> -----------------------------------
>
> Key: DERBY-5163
> URL: https://issues.apache.org/jira/browse/DERBY-5163
> Project: Derby
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.1.3
>
> Attachments: sql_cleanup_fixes.diff
>
>
> When a sql exception occurs, don't allow potential cascading sql problems when closing sql objects from masking the original cause of the exception.
> Also make sure statements get closed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira