Skip to content

Commit 3a09cb6

Browse files
authored
Merge pull request #1615 from Rollerss/main
2 parents 6ec3804 + 0366248 commit 3a09cb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dapper/SqlMapper.Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ internal static bool DisableCommandBehaviorOptimizations(CommandBehavior behavio
4444
{
4545
if (ex.Message.Contains(nameof(CommandBehavior.SingleResult))
4646
|| ex.Message.Contains(nameof(CommandBehavior.SingleRow)))
47-
{ // some providers just just allow these, so: try again without them and stop issuing them
47+
{ // some providers just allow these, so: try again without them and stop issuing them
4848
SetAllowedCommandBehaviors(CommandBehavior.SingleResult | CommandBehavior.SingleRow, false);
4949
return true;
5050
}

Dapper/SqlMapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3622,8 +3622,8 @@ private static MethodInfo ResolveOperator(MethodInfo[] methods, Type from, Type
36223622
/// Throws a data exception, only used internally
36233623
/// </summary>
36243624
/// <param name="ex">The exception to throw.</param>
3625-
/// <param name="index">The index the exception occured at.</param>
3626-
/// <param name="reader">The reader the exception occured in.</param>
3625+
/// <param name="index">The index the exception occurred at.</param>
3626+
/// <param name="reader">The reader the exception occurred in.</param>
36273627
/// <param name="value">The value that caused the exception.</param>
36283628
[Obsolete(ObsoleteInternalUsageOnly, false)]
36293629
public static void ThrowDataException(Exception ex, int index, IDataReader reader, object value)

0 commit comments

Comments
 (0)