-
Notifications
You must be signed in to change notification settings - Fork 345
Closed
Labels
Description
We had strange exception from our CI Linux run with v0.69.6 recently. Never seen it before, so it could be some tricky bug in provider. Decided to report it.
There were 16 failing tests, all on same schema read query
SELECT SPECIFIC_SCHEMA, SPECIFIC_NAME, PARAMETER_MODE, ORDINAL_POSITION, PARAMETER_NAME, NUMERIC_PRECISION, NUMERIC_SCALE, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH, DTD_IDENTIFIER FROM INFORMATION_SCHEMA.parameters WHERE SPECIFIC_SCHEMA = database()
DataConnection: Error
Exception: MySql.Data.MySqlClient.MySqlException
Message : Failed to read the result set.
at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet() in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 116
at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlDataReader.cs:line 391
at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 62
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) in /_/src/MySqlConnector/MySql.Data.MySqlClient/MySqlCommand.cs:line 210
at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
at LinqToDB.Data.DbCommandProcessor.DbCommandProcessorExtensions.ExecuteReaderExt(IDbCommand cmd, CommandBehavior commandBehavior) in d:\a\1\s\Source\LinqToDB\Data\DbCommandProcessor\DbCommandProcessorExtensions.cs:line 42
at LinqToDB.Data.DataConnection.ExecuteReader(IDbCommand command, CommandBehavior commandBehavior) in d:\a\1\s\Source\LinqToDB\Data\DataConnection.cs:line 1387
at LinqToDB.Data.DataConnection.ExecuteReader(CommandBehavior commandBehavior) in d:\a\1\s\Source\LinqToDB\Data\DataConnection.cs:line 1419
Exception: System.NotImplementedException
Message : ConvertToMySqlDbType for Enum is not implemented
at MySqlConnector.Core.TypeMapper.ConvertToMySqlDbType(ColumnDefinitionPayload columnDefinition, Boolean treatTinyAsBoolean, MySqlGuidFormat guidFormat) in /_/src/MySqlConnector/Core/TypeMapper.cs:line 276
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 148
link to one of failed tests : https://dev.azure.com/linq2db/linq2db/_build/results?buildId=2690&view=ms.vss-test-web.build-test-results-tab&runId=50096&resultId=101991&paneView=attachments
Full nunit test log
_fv-az774_2020-07-15_13_47_49.zip