Thank Andy Ling. best wishes. regards Wang Qinggang.
At 2014-09-02 09:45:47, "Andy Ling" <[email protected]> wrote: >> -----Original Message----- >> From: [email protected] [mailto:sqlite-users- >> [email protected]] 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 >[email protected] >http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

