Hi Bryan, Thank You for your answers. I spent more time on this (see updates in JIRA) Bryan Pendleton wrote: I think this is a key question, and we should figure it out before weExactly, PKGNAMCSN is used only for hashing of statements on server side. The section number in PKGNAMCSN code point is specified correctly (that's why using multiple prepared statements on the same connection works fine). Do you have a test program which demonstrates a concrete, user-visibleQuery processing is always performed correctly. The only one visible impact is the server trace. So it would be really good if you could construct a test programThis is probably not possible. --- The PKGNAMCSN is not a mandatory code point according to DRDA DDM. For now I see these alternatives: 1.) Leave the code unchanged. Everything will work fine except the server traces will be confusing. 2.) Remove the static modifier from the fields noHoldPKGNAMCBytes and holdPKGNAMCBytes of the org.apache.derby.client.am.SectionManager class. 3.) Also remove the static modifier as described above, but also do not send PKGNAMCSN when it is not needed and send PKGSN instead. This needs some more changes to code. The function buildPKGNAMCSN of the NetPackageRequest uses function canCommandUseDefaultPKGNAMCSN() to check whether it should send PKGNAMCSN or PKGSN. However this function always returns false. It seems that its not fully implemented. What do you think? Cheers Julo |
- Re: DERBY-1434 - Client can send incorrect database name t... Julius Stroffek
- Re: DERBY-1434 - Client can send incorrect database n... Army
- Re: DERBY-1434 - Client can send incorrect databa... Bryan Pendleton
- Re: DERBY-1434 - Client can send incorrect da... Julius Stroffek
- Re: DERBY-1434 - Client can send incorrec... Bryan Pendleton