(266)SQLITE_IOERR_READ 所述SQLITE_IOERR_READ错误代码是一个扩展的错误代码为SQLITE_IOERR指示在一个I / O错误VFS层,而试图从磁盘上的文件中读取。该错误可能是由硬件故障引起的,或者是由于在打开文件时卸载了文件系统。 (267)SQLITE_CORRUPT_VTAB 所述SQLITE_CORRUPT_VTAB错误代码是一个扩展的错误代码为SQLITE...
int f = SQLITE_OPEN_READONLY|SQLITE_OPEN_MAIN_JOURNAL; rc = sqlite3OsOpen(pVfs, pPager->zJournal, pPager->jfd, f, &f); } if( rc==SQLITE_OK ){ u8 first = 0; rc = sqlite3OsRead(pPager->jfd, (void *)&first, 1, 0); if( rc==SQLITE_IOERR_SHORT_READ ){ rc = SQLITE_O...
#define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) #define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) #define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) #define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) #define SQLITE_IOERR_TRUNCATE (SQLITE_IOERR | (6<<8)) #de...
#define SQLITE_IOERR_READ (SQLITE_IOERR | (1<<8)) #define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) #define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) #define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) #define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) #define...
SQLITE_IOERR_NOMEM (3082) SQLITE_IOERR_RDLOCK (2314) SQLITE_IOERR_READ (266) SQLITE_IOERR_SEEK (5642) SQLITE_IOERR_SHMLOCK (5130) SQLITE_IOERR_SHMMAP (5386) SQLITE_IOERR_SHMOPEN (4618) SQLITE_IOERR_SHMSIZE (4874) SQLITE_IOERR_SHORT_READ (522) ...
#define SQLITE_IOERR_READ (SQLITE_IOERR | (1<<8)) #define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) #define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) #define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) #define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) ...
xRead在成功时返回SQLITE_OK,如果SQLITE_IOERR_SHORT_READ由于到达文件结尾而无法读取全部字节数,或者SQLITE_IOERR_READ出现任何其他错误,则返回该字节。 xWrite方法将iAmt字节的数据从第二个参数写入文件,起始位置为iOfst字节的偏移量。如果在写入之前文件的大小小于iOfst字节,则xWrite应该确保文件在开始写入之前用0...
SQLITE_IOERR_CHECKRESERVEDLOCK (3594) SQLITE_IOERR_CLOSE (4106) SQLITE_IOERR_CONVPATH (6666) SQLITE_IOERR_DELETE (2570) SQLITE_IOERR_DELETE_NOENT (5898) SQLITE_IOERR_DIR_CLOSE (4362) SQLITE_IOERR_DIR_FSYNC (1290) SQLITE_IOERR_FSTAT (1802) ...
SQLITE_IOERR_SHORT_ READ has been added to this class. 59 Field No effect. SQLITE_IOERR_TRUNCA TE has been added to this class. 60 Field No effect. SQLITE_IOERR_UNLOCK has been added to this class. 61 Field No effect. SQLITE_IOERR_VNODE has been added to this class. 62 Field No ...
result := SQLITE_IOERR_SHORT_READ; end else result := SQLITE_OK; end; function sqlite3_initialize: integer; {$ifndef SQLITE3_FASTCALL}cdecl;{$endif} external; function sqlite3_shutdown: integer; {$ifndef SQLITE3_FASTCALL}cdecl;{$endif} external; function sqlite3_open(filename: PUTF8Char...