My problem is get a "database is locked" error using lastest linux kernel (above 2.6.28) , while the code can run smoothly on linux 2.6.26.2 kernel(vmware pc686 host) and on 2.6.26.3 kernel(arm9 embed system).
The problem code is: #if 1 if (sqlite3_exec(gJcDb, "PRAGMA cache_size = 4000", NULL, NULL, &errMsg) != SQLITE_OK) { fprintf(stderr, "!!!cache_size set error, %s\n", errMsg); sqlite3_free(errMsg); } #endif Even if I comment the the #if 0/1 #endif code block, still can't open a table and access the table data. I tried sqlite3.6.7 and sqlite3.6.16, the problem is same. Three attached files are compiling&making sqlite3 Makefile, short test code(code.c) and test database(jc.db). Any advise from you will be appreciated! _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users