Skip to content

Commit fcb0843

Browse files
author
Roberto Garcia
committed
Fixed MySqlException number.
1 parent 53fe4f3 commit fcb0843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/MySql.Data/Driver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ protected virtual void Dispose(bool disposing)
561561
if (mysqlEx == null)
562562
MySqlTrace.LogError(0, ex.GetBaseException().Message);
563563
else
564-
MySqlTrace.LogError(mysqlEx.ErrorCode, ex.GetBaseException().Message);
564+
MySqlTrace.LogError(mysqlEx.Number, ex.GetBaseException().Message);
565565
}
566566
}
567567
finally

0 commit comments

Comments
 (0)