diff --git a/CCDD.jar b/CCDD.jar index ab8f55dc..f5ef018e 100644 Binary files a/CCDD.jar and b/CCDD.jar differ diff --git a/src/CCDD/CcddDbTableCommandHandler.java b/src/CCDD/CcddDbTableCommandHandler.java index 444ef334..987c1ba5 100644 --- a/src/CCDD/CcddDbTableCommandHandler.java +++ b/src/CCDD/CcddDbTableCommandHandler.java @@ -8709,7 +8709,7 @@ protected void modifyTableType(String typeName, if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } @@ -8767,7 +8767,7 @@ protected void modifyTableType(String typeName, if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } @@ -8788,7 +8788,7 @@ protected void modifyTableType(String typeName, if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } @@ -8813,7 +8813,7 @@ protected void modifyTableType(String typeName, if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } } @@ -8933,7 +8933,7 @@ protected void modifyTableType(String typeName, if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } @@ -8977,7 +8977,7 @@ protected void modifyTableType(String typeName, if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } @@ -9047,7 +9047,7 @@ else if (rateHandler.getRateInformationByRateName(mod[1]) == null) if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } // The new rate name is already in use @@ -9079,7 +9079,7 @@ else if (rateHandler.getRateInformationByRateName(mod[1]) == null) if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } // Check if the table type represents a structure and a rate column is @@ -9105,7 +9105,7 @@ else if (rateHandler.getRateInformationByRateName(mod[1]) == null) if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } } @@ -9333,7 +9333,7 @@ else if (newFields[newIndex][FieldEditorColumnInfo.APPLICABILITY.ordinal()].toSt if (command.length() >= ModifiableSizeInfo.MAX_SQL_COMMAND_LENGTH.getSize()) { commands.add(command); - command.setLength(0); + command = new StringBuilder(); } } }