yiskang / csharp-sqlite

Automatically exported from code.google.com/p/csharp-sqlite
Other
0 stars 0 forks source link

Simple SELECT command throws ArgumentOutOfRangeException. #154

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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:

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

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