abouffard/csharp-sqlite

Simple SELECT command throws ArgumentOutOfRangeException.

Closed this issue · 2 comments

I have attached a simple test case (along with the library). The code for the 
test program is also in http://pastebin.com/T65JJcnM.

The expected output would be "2", the error is thrown in GetInt32 in 
SqliteDataReader in SQLiteClient.

I am using the latest version, checked out from the repository. Running in a 
Windows XP, latest version of the Visual Studio 2010 toolkit too.

Original issue reported on code.google.com by j.russel...@gmail.com on 28 Apr 2012 at 10:42

Attachments:

Nevermind, I just found the error, missing "reader.Read();" statement.

I apologize for the trouble.

Original comment by j.russel...@gmail.com on 28 Apr 2012 at 10:50

Original comment by noah.hart@gmail.com on 18 May 2012 at 11:16

  • Changed state: Invalid