I just found the problem. I was executing this from a file, but was splitting the file by the ';' delimiter and executing it accordingly. Of course, that produces an array whose last element is an empty string. I tacked on a ';' at the end of that, producing this error.
Carry on. :P I need a beer. On Fri, Mar 13, 2009 at 9:12 PM, Igor Tandetnik <[email protected]> wrote: > "Rand Huck" <[email protected]> wrote in > message > news:[email protected]<news%[email protected]> > > When I execute this, SQLite gives me a very useless error code: -1 > > with no additional information. > > Define "gives". How do you obtain this error code? Normally, SQLite > error codes are positive integers: http://sqlite.org/c3ref/c_abort.html > > Igor Tandetnik > > > > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

