-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
Hi there,.
When I upgraded dapperlib to 2.1.11, I get an error when I run a vacuum statement.
connection.Execute("VACUUM;");
System.ArgumentException : The CommandType 'StoredProcedure' is not supported. : at Microsoft.Data.Sqlite.SqliteCommand.set_CommandType(CommandType value)
at Dapper.CommandDefinition.SetupCommand(IDbConnection cnn, Action`2 paramReader) in /_/Dapper/CommandDefinition.cs:line 128
at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2970
at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656
at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527
The parser is judging the sql type as StoredProcedure.
How can I fix this?
Thank you in advance.