[codeface] [PATCH] Follow-up patch for my latest patch stack

  • From: Claus Hunsen <hunsen@xxxxxxxxxxxxxxxxx>
  • To: codeface@xxxxxxxxxxxxx
  • Date: Tue, 6 Dec 2016 14:48:11 +0100

While analyzing Linux on our cluster, we observed that the commit analysis
breaks due to an oversized commit message:

2016-12-02 08:43:18 [codeface.dbmanager] Process-8 CRITICAL: MySQL error
1406 during "INSERT INTO commit (AddedLines, AuthorSubsysSimilarity,
AuthorTaggersSimilarity, ChangedFiles, CmtMsgBytes, CmtMsgLines,
DeletedLines, DiffSize, NumSignedOffs, NumTags, Subsys,
TaggersSubsysSimilarity, TotalSubsys, author, authorDate,
authorTimeOffset, commitDate, commitHash, corrective, description, inRC,
projectId, releaseRangeId) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s,
%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)": Data too long
for column 'description' at row 8022

To prevent this error, I increased the data type to "MEDIUMTEXT" (in
comparison to "TEXT" before).

I would like if the appended patch is incorporated with the remainder of
my previously posted patch stack while merging. The patch is already
pushed to my 'claus-updates' branch on GitHub.

Best,
Claus


Claus Hunsen (1):
  Increase DB column size for commit message

 datamodel/codeface.mwb        | Bin 58258 -> 58337 bytes
 datamodel/codeface_schema.sql |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

--
2.10.2


Other related posts: