Skip to content

Commit 5959f2f

Browse files
authored
Addressed comment
1 parent 81e8c4d commit 5959f2f

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/microsoft/sqlserver/jdbc

1 file changed

+1
-1
lines changed

src/main/java/com/microsoft/sqlserver/jdbc/dtv.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,7 @@ else if (type.isBinary()) {
20642064
// SSType (i.e. VARCHAR vs. TEXT/VARCHAR(max)) is based on the exact length of
20652065
// the MBCS value (in bytes).
20662066
// If useBulkCopyForBatchInsert is true, conversion to byte array is not done due to performance
2067-
else if ((con.getUseBulkCopyForBatchInsert() == false) && null != collation && (JDBCType.CHAR == type || JDBCType.VARCHAR == type
2067+
else if (!con.getUseBulkCopyForBatchInsert() && null != collation && (JDBCType.CHAR == type || JDBCType.VARCHAR == type
20682068
|| JDBCType.LONGVARCHAR == type || JDBCType.CLOB == type)) {
20692069
byte[] nativeEncoding = null;
20702070

0 commit comments

Comments
 (0)