-
Notifications
You must be signed in to change notification settings - Fork 332
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
DO SLEEP(0) is syntax error in xpand db #1115
Comments
Does |
Those changes are workaround for issues when using this client on SingleStore. It is not meant to be production grade changes yet, but allows us to continue testing our solution against S2.
works fine! If applied to library, when will it be released? |
The |
Fixed in 2.1.5. |
This syntax may not be compatible with Manticore: #1356. |
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);
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
List
1.ctor(IEnumerable
1 collection)Enumerable.ToList[TSource](IEnumerable
1 source) SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable
1 commandTimeout, Nullable`1 commandType) Line721
The text was updated successfully, but these errors were encountered: