You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2016/08/03 23:01:20 UTC
[jira] [Assigned] (TRAFODION-2139) Possible invalid UTF-8 string in
TEXT metadata table
[ https://issues.apache.org/jira/browse/TRAFODION-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hans Zeller reassigned TRAFODION-2139:
--------------------------------------
Assignee: Hans Zeller
> Possible invalid UTF-8 string in TEXT metadata table
> ----------------------------------------------------
>
> Key: TRAFODION-2139
> URL: https://issues.apache.org/jira/browse/TRAFODION-2139
> Project: Apache Trafodion
> Issue Type: Bug
> Components: sql-cmu
> Affects Versions: 1.3-incubating
> Reporter: Hans Zeller
> Assignee: Hans Zeller
>
> Method CmpSeabaseDDL::updateTextTable() takes a string, splits it into chunks of a maximum size and inserts them into the TEXT table. I have not yet verified that this problem actually can occur, but I think there is a possibility that the method will split a multi-byte UTF-8 character in the middle and will get an error. To fix this, we should use method findStartOfChar() in file sql/common/csconvert.h to find a good point to split the text.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)