Hello,
this works fine on windows, but not on linux.
I open a new database with flags ReadWriteCreate, works fine - database is there.
The next step of executing a CREATE TABLE statement fails with return code 10 ( I/O ERROR ).
The permissions are correct (777 / 755), i can use sqlite3 to manually create a db and create tables in there, so i don’t think it’s an OS setup issue?
Ok, it appears when a db needs to become larger it fails due to a ‘cached file’ feature in the engine having different seek behaviour from the normal unix file handling.
A workaround seems to be removing the following code from IPlatformFileCachedWrapper.h