On 5 May 2014, at 6:42am, NULL <[email protected]> wrote:

>  the attached files is the code i used,and the code would be cause system 
> crash when call like this,
>   sqlite3_exec(db, "create table hello(one varchar(10), two smallint)", 
> callback, 0, &ErrMsg)

You cannot attach files to posts to this list.

SQlite does not have VARCHAR or SMALLINT types.  Your types will be understood 
as TEXT and INTEGER.

Check the values returned by all SQLite calls you make before the one which 
crashes.

Try the SQL commands you execute in the SQLite Shell Tool and see whether it 
executes them successfully or returns errors.

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to