GitHub user CoderSong2015 opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1197
[TRAFODION-2702]Fix wrong offset when the charset type is ucs2 in SQLTOC
The offset will record the number of the chars returned,which have been
translated from ucs2 to SQL_C_CHAR. When the function is called again to get
the remaining chars, it use the length of string without translation and the
offset translated to calculate the number of the remaining chars.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CoderSong2015/incubator-trafodion forUCS2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/1197.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1197
----
commit cdee98c4390006dd14b98288fc334184548283c5
Author: CoderSong2015 <[email protected]>
Date: 2017-08-03T11:05:30Z
[TRAFODION-2702]Fix wrong offset when the charset type is ucs2 in SQLTOC
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---