[Mono-list] Bug in Mono.Data.SqliteClient?

Chris Seaton chris at chrisseaton.com
Thu Jan 4 06:06:24 EST 2007


Does anyone have experience using Mono.Data.SqliteClient?

It works fine for me apart from when I have multiple Sql statements  
in a single command. If I run something like

command = database.CreateCommand();
command.CommandText = "update films set year = year + 10; select  
year, title from films where year >= 1980;";
reader = command.ExecuteReader();

I expect both statements to be executed and to read results from the  
second statement. This is what the source code seems to imply is what  
should happen. When I try it, only the first statement is executed.

Any ideas?

Thanks

Chris Seaton


More information about the Mono-list mailing list