-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Software versions
MySqlConnector version: "MySqlConnector" Version="2.1.2"
Server type (MySQL, MariaDB, Aurora, etc.) and version: 5.0.45-Xpand-5.3.17
.NET version: LTS dotnet 6.0.10
(Optional) ORM NuGet packages and versions:
Describe the bug
DO SLEEP(0) is not working
Exception
exception message
MySqlConnector.MySqlException : [33792] syntax error: syntax error near "DO"
LINE: DO SLEEP(0);
Data:
Server Error Code: 1064
SqlState: HY000
call stack
ServerSession.FinishQuerying() Line 322
MySqlConnection.FinishQuerying(Boolean hasWarnings) Line 876
MySqlDataReader.DisposeAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) Line 609
MySqlDataReader.Dispose(Boolean disposing) Line 428
DbDataReader.Dispose()
SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+<>m__Finally1() Line 1125
SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() Line 1115
List1.ctor(IEnumerable1 collection)
Enumerable.ToList[TSource](IEnumerable1 source) SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable1 commandTimeout, Nullable`1 commandType) Line
721