Skip to content

Commit eac2cd9

Browse files
committed
User Story 34145: Tidy up Bulk Copy unmatched column name work
- Fixed weird indentation.
1 parent 941cbe9 commit eac2cd9

File tree

1 file changed

+4
-4
lines changed
  • src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient

1 file changed

+4
-4
lines changed

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/SqlBulkCopy.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,11 +562,11 @@ private string AnalyzeTargetAndCreateUpdateBulkCommand(BulkCopySimpleResultSet i
562562
if (_parser.Is2005OrNewer)
563563
{
564564
hasExistingTransaction = _connection.HasLocalTransaction;
565-
}
566-
else
567-
{
565+
}
566+
else
567+
{
568568
hasExistingTransaction = (bool)(0 < (SqlInt32)internalResults[TranCountResultId][TranCountRowId][TranCountValueId]);
569-
}
569+
}
570570

571571
// Throw if there is a transaction but no flag is set
572572
if (hasExistingTransaction

0 commit comments

Comments
 (0)