yiskang / csharp-sqlite

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

Shell exceptions out when attempting to import CSV file #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run "C#-SQLite3.exe BookSalesAnalysis.db3 <  BookAnalysisLoader.sql"
(files are attached)

What is the expected output? What do you see instead?

Unhandled exception. See attached "StackDump.txt" for details.

Works with SQLite3.exe

What version of the product are you using? On what operating system?
Windows, latest code branch.

Please provide any additional information below.
First issue appears to be an issue with the approach of referencing a
StringBuilder text via [j++] outside of the range of the text. Line 1599
"zSql[j++] = ',';" of shell.cs.

Original issue reported on code.google.com by garethji...@gmail.com on 25 Jan 2010 at 3:22

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by noah.hart@gmail.com on 26 Jan 2010 at 1:07

GoogleCodeExporter commented 8 years ago
Fixed with Jan 26 checkin;

Note:  shell has not received extensive testing, since someone had volunteered 
to
replace it with a nicely C# written version.  More issues are to be expected.

Original comment by noah.hart@gmail.com on 26 Jan 2010 at 1:59