|
[
Permlink
| « Hide
]
Knut Anders Hatlen added a comment - 15/Feb/08 02:53 PM
Attaching a patch which updates the test so that it exposes the bug. Instead of calling isClosed(), it calls ResultSet.next() and checks whether an exception with SQL state XCL16 is thrown. With this change, the test fails on embedded and passes on the client.
Knut Anders Hatlen made changes - 15/Feb/08 02:53 PM
Knut Anders Hatlen made changes - 16/Feb/08 03:58 PM
Attached is a patch that changes the return value for EmbedDatabaseMetadata40.autoCommitFailureClosesAllResultSets() and updates TestDbMetaData.
When this patch is applied, autoCommitFailureClosesAllResultSets() returns different values on embedded and on the client, so if the approach is accepted and the patch is committed, we should also file an issue to track the difference between client and embedded.
Knut Anders Hatlen made changes - 16/Feb/08 04:06 PM
Knut Anders Hatlen made changes - 16/Feb/08 04:08 PM
Committed revision 629395.
Knut Anders Hatlen made changes - 20/Feb/08 09:36 AM
DERBY-3436 is logged to track the difference between embedded and client.
Knut Anders Hatlen made changes - 20/Feb/08 09:52 AM
Merged revision 629395 from trunk into 10.3.2.2 codeline(630941). The reason for merge is that I would like to merge changes for
Mamta A. Satoor made changes - 25/Feb/08 05:24 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||