forked from mysql-net/MySqlConnector
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This diff contains changes that were made in the original connector in 2.2.5-2.2.7 releases: - Fix parsing nan as float/double value on .NET Framework. - Ignore deadlock exception when rolling back an XA transaction. - Work around ephemeral PEM bug on Windows. - Respect ConnectTimeout when resetting connection. - Prevent connection pool falling back to an unsupported TLS version. Also it contains new test that is failing -- ResetConnectionTimeout(). It's commented for now, but will be resolved in the next diff. Test Plan: https://app.circleci.com/pipelines/github/memsql/SingleStoreNETConnector/305/workflows/21219911-bf42-429e-a689-331c06da44a3 Reviewers: pmishchenko-ua Reviewed By: pmishchenko-ua Subscribers: engineering-list JIRA Issues: PLAT-6674 Differential Revision: https://grizzly.internal.memcompute.com/D64455
- Loading branch information
1 parent
f914b57
commit ec495d0
Showing
26 changed files
with
182 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#if NET461 | ||
#pragma warning disable CA1716 // Don't use reserved language keywords | ||
namespace System.Data.Common; | ||
|
||
public abstract class DbColumn | ||
{ | ||
public bool? AllowDBNull { get; protected set; } | ||
public string? BaseCatalogName { get; protected set; } | ||
public string? BaseColumnName { get; protected set; } | ||
public string? BaseSchemaName { get; protected set; } | ||
public string? BaseServerName { get; protected set; } | ||
public string? BaseTableName { get; protected set; } | ||
public string ColumnName { get; protected set; } = ""; | ||
public int? ColumnOrdinal { get; protected set; } | ||
public int? ColumnSize { get; protected set; } | ||
public bool? IsAliased { get; protected set; } | ||
public bool? IsAutoIncrement { get; protected set; } | ||
public bool? IsExpression { get; protected set; } | ||
public bool? IsHidden { get; protected set; } | ||
public bool? IsIdentity { get; protected set; } | ||
public bool? IsKey { get; protected set; } | ||
public bool? IsLong { get; protected set; } | ||
public bool? IsReadOnly { get; protected set; } | ||
public bool? IsUnique { get; protected set; } | ||
public int? NumericPrecision { get; protected set; } | ||
public int? NumericScale { get; protected set; } | ||
public string? UdtAssemblyQualifiedName { get; protected set; } | ||
public Type? DataType { get; protected set; } | ||
public string? DataTypeName { get; protected set; } | ||
public virtual object? this[string property] => null; | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.