fix DB crash when zcontents data for field is too large

This commit is contained in:
2013-09-10 12:44:59 +00:00
parent 62c254eca4
commit e47df68f83
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ namespace DataLoader
// 20000 flags step type item & 1 adjusts for 'base' in format files.
int contenttype = (structtype == "R") ? 20040 : 20001 + int.Parse(newstptyp != null ? newstptyp : StepType);
content = Content.New(null, stptext.Replace("<BackSlash>", "\\\\"), contenttype, null, ci.ToString(), dts, userid);
content.MyZContent.OldStepSequence = ProcNumber + "|" + stpseq;
content.MyZContent.OldStepSequence = ProcNumber + "|" + stpseq.TrimEnd(" ".ToCharArray()); ;
// Before we save it, handle RO & Transitions tokens.
int tokrt = Textm.IndexOf('\x15');