|
Kathey Marsden made changes - 08/Jan/09 05:12 PM
[
Permalink
| « Hide
]
Kathey Marsden added a comment - 08/Jan/09 07:27 PM
Here is a preliminary patch for this issue. I am running tests now. The change makes RDBNAM optional on ACCSEC and initialize the datbase name on SECCHK instead. I added two protocol tests. One for successful connection if there is no RDBNAM on ACCSEC but we send it on SECCHK. Another to test that we throw a SYNTAXRM if there is no RDBNAM on either ACCSEC or SECCHK.
Kathey Marsden made changes - 08/Jan/09 07:27 PM
Regression tests passed. Please Review the patch derby-4004_diff.txt
Thanks Kathey
Kathey Marsden made changes - 08/Jan/09 10:10 PM
I have not looked at this thoroughly, but I have one comment: are the new .inc files run as part of the ProtocolTest
(see DERBY-2031)? The patch 'derby-4004-fix_new_protcoltest.diff' makes the new protocol test run successfully with the new tests added.
Before the change it ran 150 tests, after Katheys patch it runs 151 (two added, one removed). Changes in "protocol.tests" are picked up automatically, but if new files are added java/testing/org/apache/derby/impl/drda/ProtocolTest.java must be updated. This test still has the problem that it cannot be run as part of suites.All, but it can be run with 'ant junit-pptesting'. Note that the old version of the test is still being run as part of a suite.
Kristian Waagan made changes - 09/Jan/09 09:43 AM
Thanks Kristian and Myrna for the information on ProtocolTest. I added Kristian's patch to the original patch. If there are no review comments I will commit this patch tomorrow. I would, however most appreciate a review if anyone has the time.
Kathey Kathey and I did a patch-code-walk-through on IRC.
We noticed the following nits: - Improve javadoc for dbname on initializeDatabase - Add javadoc for Database.setDatabaseName - fix whitespace before call to initializeDefaultStatement. - in in excsat_secchk_nordbonaccsec.inc, remove comment //writeScalarString RDBNAM "wombat;create=true All looks good otherwise.
Kathey Marsden made changes - 14/Jan/09 09:31 PM
Attached is a patch derby-4004_10_4_diff.txt which backports this change to 10.4. I am putting the change to 10.4 and 10.3 to avoid the change in error message when attempting to connect with multibyte characters in the database name after the fix for derby-4008 for new clients connecting to back rev servers.
Running tests and will commit Monday if there are no objections.
Kathey Marsden made changes - 23/Jan/09 05:07 PM
Kathey Marsden made changes - 26/Jan/09 05:31 PM
Myrna van Lunteren made changes - 04/May/09 06:22 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||