On 2 August 2012 08:28, YAN HONG YE <yanhong...@mpsa.com> wrote: . . . > when I use command > " jii select ccc" > it shows a problem: > > "jii.exe has encountered a problem and needs to close. We are sorry for the > inconvenience." > > I couldn't resolve it. > > void query_table(sqlite3 *l_db) > { > char **result; > char buffer2[324]="0"; > int row,column; > char *sql; > > char *error; > int i; > > sprintf(sql,"select * from myprivate;");
Perhaps you intended sql to have been malloc'd here... Regards, Simon _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users