[
https://issues.apache.org/jira/browse/DERBY-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659343#comment-14659343
]
Bryan Pendleton commented on DERBY-6802:
----------------------------------------
Actually, looking at it more closely, it seems to me that
the sqlErrmcDelimiter field in Sqlca should be entirely
removed, and we should be using MessageUtils.SQLERRMC_MESSAGE_DELIMITER
instead.
I think we didn't recognize these two fields as being
duplicates at first because one uses "20" while the other uses 0x14,
which are two different ways to encode the same value.
> Change NetworkServer code to use new MessageUtils class
> -------------------------------------------------------
>
> Key: DERBY-6802
> URL: https://issues.apache.org/jira/browse/DERBY-6802
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC, Network Client, Network Server
> Reporter: Bryan Pendleton
> Assignee: Abhinav Gupta
> Priority: Minor
> Attachments: 6802.diff, derby.log, refactorServerCode.diff
>
>
> We would like to change the NetworkServer code which encodes and decodes
> message arguments for Derby exceptions which are returned
> to the client so that it uses the new MessageUtils class to do that
> encoding and decoding.
> There won't be any change of behavior when we do this; this is just
> a refactoring of code to allow for sharing between client and server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)