forked from mysql-net/MySqlConnector
-
Notifications
You must be signed in to change notification settings - Fork 5
Add .NET 10 support #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 13 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
186e8ab
CI config changes (version, test triggers) + .props
okramarenko cc2a684
update .csproj files
okramarenko e34c6e8
update SingleStoreConnector.Authentication.Ed25519
okramarenko af4cb81
grab block of updates for Authentication, ColumnReaders and Core folders
okramarenko b9968b9
grab another block of changes
okramarenko 4fcc208
grab Protocol changes
okramarenko af6dd57
grab the last block of changes for the connector
okramarenko c75f384
grab first block of changes for the tests
okramarenko b357581
grab the last block of changes for tests
okramarenko dfb6ad7
make it build
okramarenko 18c172b
fix dotnet version in CI
okramarenko 77d5340
update config.yml
okramarenko 5ef8f81
update Directory.Build.props
okramarenko 45e9cbd
fix typo
okramarenko a007803
fix SingleStoreConnector.Tests and resolve Vector fixture creation
okramarenko 501f031
get rid of the specific MySQL protocol mechanism (COM_STMT_SEND_LONG_…
okramarenko 78aee2e
resolve issue with log4net package
okramarenko 85899ab
minor fixes
okramarenko 7c55285
implement bulk loading tests for Geography types
okramarenko 712308a
get rid of Vector type support (need to reimplement it)
okramarenko 082c9a4
resolve small issues
okramarenko ceef53a
regenerate docs
okramarenko 8780d13
update version and release notes
okramarenko 9842511
Make EnableResultSetHeaderEvent opt in
okramarenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "Data": { | ||
| "ConnectionString": "server=SINGLESTORE_HOST;user id=SQL_USER_NAME;password=SQL_USER_PASSWORD;port=3306;database=singlestoretest;sslmode=Required;certificate file=../../../../.ci/server/certs/ssl-client.pfx;", | ||
| "UnsupportedFeatures": "CachingSha2Password,Ed25519,QueryAttributes,Tls11,Tls13,UuidToBin,UnixDomainSocket,Sha256Password,GlobalLog,Redirection,CancelSleepSuccessfully,TlsFingerprintValidation", | ||
| "UnsupportedFeatures": "CachingSha2Password,Ed25519,QueryAttributes,Tls11,Tls13,UuidToBin,UnixDomainSocket,Sha256Password,GlobalLog,Redirection,CancelSleepSuccessfully,TlsFingerprintValidation,Vector", | ||
| "CertificatesPath": "../../../../.ci/server/certs" | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "Data": { | ||
| "ConnectionString": "server=SINGLESTORE_HOST;user id=SQL_USER_NAME;password=SQL_USER_PASSWORD;port=3306;database=singlestoretest;sslmode=None", | ||
| "UnsupportedFeatures": "CachingSha2Password,Ed25519,QueryAttributes,Tls11,Tls13,UuidToBin,UnixDomainSocket,Sha256Password,GlobalLog,Redirection,CancelSleepSuccessfully,TlsFingerprintValidation", | ||
| "ConnectionString": "server=SINGLESTORE_HOST;user id=SQL_USER_NAME;password=SQL_USER_PASSWORD;port=3306;database=singlestoretest;sslmode=disabled;", | ||
| "UnsupportedFeatures": "CachingSha2Password,Ed25519,QueryAttributes,Tls11,Tls13,UuidToBin,UnixDomainSocket,Sha256Password,GlobalLog,Redirection,CancelSleepSuccessfully,TlsFingerprintValidation,ParsecAuthentication,Vector", | ||
| "ManagedService": true | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,17 @@ | ||
| <Solution> | ||
| <Folder Name="/tools/"> | ||
| <Project Path="tools/SchemaCollectionGenerator/SchemaCollectionGenerator.csproj" /> | ||
| </Folder> | ||
| <Project Path="src/SingleStoreConnector.Authentication.Ed25519/SingleStoreConnector.Authentication.Ed25519.csproj" /> | ||
| <Project Path="src/SingleStoreConnector.DependencyInjection/SingleStoreConnector.DependencyInjection.csproj" /> | ||
| <Project Path="src/SingleStoreConnector.Logging.log4net/SingleStoreConnector.Logging.log4net.csproj" /> | ||
| <Project Path="src/SingleStoreConnector.Logging.Microsoft.Extensions.Logging/SingleStoreConnector.Logging.Microsoft.Extensions.Logging.csproj" /> | ||
| <Project Path="src/SingleStoreConnector.Logging.NLog/SingleStoreConnector.Logging.NLog.csproj" /> | ||
| <Project Path="src/SingleStoreConnector.Logging.Serilog/SingleStoreConnector.Logging.Serilog.csproj" /> | ||
| <Project Path="src/SingleStoreConnector/SingleStoreConnector.csproj" /> | ||
| <Project Path="tests/Conformance.Tests/Conformance.Tests.csproj" /> | ||
| <Project Path="tests/SideBySide/SideBySide.csproj" /> | ||
| <Project Path="tests/SingleStoreConnector.DependencyInjection.Tests/SingleStoreConnector.DependencyInjection.Tests.csproj" /> | ||
| <Project Path="tests/SingleStoreConnector.NativeAot.Tests/SingleStoreConnector.NativeAot.Tests.csproj" /> | ||
| <Project Path="tests/SingleStoreConnector.Tests/SingleStoreConnector.Tests.csproj" /> | ||
| </Solution> |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
37 changes: 37 additions & 0 deletions
37
src/SingleStoreConnector.Authentication.Ed25519/Chaos.NaCl/CryptoBytes.cs
This file contains hidden or 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,37 @@ | ||
| using System; | ||
| using System.Runtime.CompilerServices; | ||
|
|
||
| namespace Chaos.NaCl | ||
| { | ||
| internal static class CryptoBytes | ||
| { | ||
| public static void Wipe(byte[] data) | ||
| { | ||
| if (data == null) | ||
| throw new ArgumentNullException("data"); | ||
| InternalWipe(data, 0, data.Length); | ||
| } | ||
|
|
||
| // Secure wiping is hard | ||
| // * the GC can move around and copy memory | ||
| // Perhaps this can be avoided by using unmanaged memory or by fixing the position of the array in memory | ||
| // * Swap files and error dumps can contain secret information | ||
| // It seems possible to lock memory in RAM, no idea about error dumps | ||
| // * Compiler could optimize out the wiping if it knows that data won't be read back | ||
| // I hope this is enough, suppressing inlining | ||
| // but perhaps `RtlSecureZeroMemory` is needed | ||
| [MethodImpl(MethodImplOptions.NoInlining)] | ||
| internal static void InternalWipe(byte[] data, int offset, int count) | ||
| { | ||
| Array.Clear(data, offset, count); | ||
| } | ||
|
|
||
| // shallow wipe of structs | ||
| [MethodImpl(MethodImplOptions.NoInlining)] | ||
| internal static void InternalWipe<T>(ref T data) | ||
| where T : struct | ||
| { | ||
| data = default(T); | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.