> -----Original Message----- > From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users- > boun...@sqlite.org] On Behalf Of ??? > Sent: 02 September 2014 13:41 > To: General Discussion of SQLite Database > Subject: Re: [sqlite] HELP sqlite3 used in vxworks has some problem > > > > firstly : > Even if I used > #if OS_VXWORKS > || osAccess(zPath,0) != 0 > #endif > > > or I used > #if OS_VXWORKS > }else if(errno == 0x380003 || errno == 13 ) > rc = SQLITE_IOERR_DELETE_NOENT: > #endif > > > Without the SQLITE_ENABLE_LOCKING_STYLE compile option, I tried the > above two method, but it still told me the error : disk I/o error. >
If you read what I wrote in the email you are answering, you will see that the problem is that the host file system does not support fsync. So the short answer is that you cannot use SQLite with a database that is stored on your host PC. You must use a file system that is part of the target system. Regards Andy Ling _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users