Skip to content

Commit

Permalink
Add quirk mode for #26632
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriySvyryd committed Nov 14, 2021
1 parent f22054d commit c1726fd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ public virtual ResultSetMapping AppendBulkInsertOperation(
modificationCommands[0],
modificationCommands[0].ColumnModifications.Where(o => o.IsKey).ToList(),
modificationCommands[0].ColumnModifications.Where(o => o.IsRead).ToList(),
commandPosition);
(!AppContext.TryGetSwitch("Microsoft.EntityFrameworkCore.Issue26632", out var enabled) || !enabled)
? commandPosition
: 0);
}

var readOperations = modificationCommands[0].ColumnModifications.Where(o => o.IsRead).ToList();
Expand Down

0 comments on commit c1726fd

Please sign in to comment.