Skip to content
Permalink
Browse files
#2711 no-longer truncate binary columns whlie editing
  • Loading branch information
abhibeckert committed Mar 3, 2017
1 parent cbf8095 commit a775a23
Showing 1 changed file with 6 additions and 2 deletions.
@@ -130,8 +130,12 @@ - (id)tableView:(SPCopyTable *)tableView objectValueForTableColumn:(NSTableColum
fieldEditorCheckLock = &tableValuesLock;
}

// Always retrieve the short string representation, truncating the value where necessary
return [value shortStringRepresentationUsingEncoding:[mySQLConnection stringEncoding]];
// Unless we're editing, always retrieve the short string representation, truncating the value where necessary
if ([tableView editedColumn] == (NSInteger)columnIndex || [tableView editedRow] == rowIndex) {
return [value stringRepresentationUsingEncoding:[mySQLConnection stringEncoding]];
} else {
return [value shortStringRepresentationUsingEncoding:[mySQLConnection stringEncoding]];
}
}

if ([value isSPNotLoaded]) {

0 comments on commit a775a23

Please sign in to comment.