⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hlreq.html

📁 sqlite的帮助文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
#define SQLITE_IOERR       10   /* Some kind of disk I/O error occurred */#define SQLITE_CORRUPT     11   /* The database disk image is malformed */#define SQLITE_NOTFOUND    12   /* NOT USED. Table or record not found */#define SQLITE_FULL        13   /* Insertion failed because database is full */#define SQLITE_CANTOPEN    14   /* Unable to open the database file */#define SQLITE_PROTOCOL    15   /* NOT USED. Database lock protocol error */#define SQLITE_EMPTY       16   /* Database is empty */#define SQLITE_SCHEMA      17   /* The database schema changed */#define SQLITE_TOOBIG      18   /* String or BLOB exceeds size limit */#define SQLITE_CONSTRAINT  19   /* Abort due to constraint violation */#define SQLITE_MISMATCH    20   /* Data type mismatch */#define SQLITE_MISUSE      21   /* Library used incorrectly */#define SQLITE_NOLFS       22   /* Uses OS features not supported on host */#define SQLITE_AUTH        23   /* Authorization denied */#define SQLITE_FORMAT      24   /* Auxiliary database format error */#define SQLITE_RANGE       25   /* 2nd parameter to sqlite3_bind out of range */#define SQLITE_NOTADB      26   /* File opened that is not a database file */#define SQLITE_ROW         100  /* sqlite3_step() has another row ready */#define SQLITE_DONE        101  /* sqlite3_step() has finished executing *//* end-of-error-codes */</pre></blockquote></td></tr><tr><td valign="top">H10220</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_IOERR_READ              (SQLITE_IOERR | (1&lt;&lt;8))#define SQLITE_IOERR_SHORT_READ        (SQLITE_IOERR | (2&lt;&lt;8))#define SQLITE_IOERR_WRITE             (SQLITE_IOERR | (3&lt;&lt;8))#define SQLITE_IOERR_FSYNC             (SQLITE_IOERR | (4&lt;&lt;8))#define SQLITE_IOERR_DIR_FSYNC         (SQLITE_IOERR | (5&lt;&lt;8))#define SQLITE_IOERR_TRUNCATE          (SQLITE_IOERR | (6&lt;&lt;8))#define SQLITE_IOERR_FSTAT             (SQLITE_IOERR | (7&lt;&lt;8))#define SQLITE_IOERR_UNLOCK            (SQLITE_IOERR | (8&lt;&lt;8))#define SQLITE_IOERR_RDLOCK            (SQLITE_IOERR | (9&lt;&lt;8))#define SQLITE_IOERR_DELETE            (SQLITE_IOERR | (10&lt;&lt;8))#define SQLITE_IOERR_BLOCKED           (SQLITE_IOERR | (11&lt;&lt;8))#define SQLITE_IOERR_NOMEM             (SQLITE_IOERR | (12&lt;&lt;8))#define SQLITE_IOERR_ACCESS            (SQLITE_IOERR | (13&lt;&lt;8))#define SQLITE_IOERR_CHECKRESERVEDLOCK (SQLITE_IOERR | (14&lt;&lt;8))#define SQLITE_IOERR_LOCK              (SQLITE_IOERR | (15&lt;&lt;8))</pre></blockquote></td></tr><tr><td valign="top">H10223</td><td valign="top">The symbolic name for an extended result code shall containsa related primary result code as a prefix. </td></tr><tr><td valign="top">H10224</td><td valign="top">Primary result code names shall contain a single "_" character. </td></tr><tr><td valign="top">H10225</td><td valign="top">Extended result code names shall contain two or more "_" characters. </td></tr><tr><td valign="top">H10226</td><td valign="top">The numeric value of an extended result code shall contain thenumeric value of its corresponding primary result code inits least significant 8 bits. </td></tr><tr><td valign="top">H10230</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_OPEN_READONLY         0x00000001#define SQLITE_OPEN_READWRITE        0x00000002#define SQLITE_OPEN_CREATE           0x00000004#define SQLITE_OPEN_DELETEONCLOSE    0x00000008#define SQLITE_OPEN_EXCLUSIVE        0x00000010#define SQLITE_OPEN_MAIN_DB          0x00000100#define SQLITE_OPEN_TEMP_DB          0x00000200#define SQLITE_OPEN_TRANSIENT_DB     0x00000400#define SQLITE_OPEN_MAIN_JOURNAL     0x00000800#define SQLITE_OPEN_TEMP_JOURNAL     0x00001000#define SQLITE_OPEN_SUBJOURNAL       0x00002000#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000#define SQLITE_OPEN_NOMUTEX          0x00008000#define SQLITE_OPEN_FULLMUTEX        0x00010000</pre></blockquote></td></tr><tr><td valign="top">H10240</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_IOCAP_ATOMIC          0x00000001#define SQLITE_IOCAP_ATOMIC512       0x00000002#define SQLITE_IOCAP_ATOMIC1K        0x00000004#define SQLITE_IOCAP_ATOMIC2K        0x00000008#define SQLITE_IOCAP_ATOMIC4K        0x00000010#define SQLITE_IOCAP_ATOMIC8K        0x00000020#define SQLITE_IOCAP_ATOMIC16K       0x00000040#define SQLITE_IOCAP_ATOMIC32K       0x00000080#define SQLITE_IOCAP_ATOMIC64K       0x00000100#define SQLITE_IOCAP_SAFE_APPEND     0x00000200#define SQLITE_IOCAP_SEQUENTIAL      0x00000400</pre></blockquote></td></tr><tr><td valign="top">H10250</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_LOCK_NONE          0#define SQLITE_LOCK_SHARED        1#define SQLITE_LOCK_RESERVED      2#define SQLITE_LOCK_PENDING       3#define SQLITE_LOCK_EXCLUSIVE     4</pre></blockquote></td></tr><tr><td valign="top">H10260</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_SYNC_NORMAL        0x00002#define SQLITE_SYNC_FULL          0x00003#define SQLITE_SYNC_DATAONLY      0x00010</pre></blockquote></td></tr><tr><td valign="top">H10265</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_INTEGER  1#define SQLITE_FLOAT    2#define SQLITE_BLOB     4#define SQLITE_NULL     5#ifdef SQLITE_TEXT# undef SQLITE_TEXT#else# define SQLITE_TEXT     3#endif#define SQLITE3_TEXT     3</pre></blockquote></td></tr><tr><td valign="top">H10267</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_UTF8           1#define SQLITE_UTF16LE        2#define SQLITE_UTF16BE        3#define SQLITE_UTF16          4    /* Use native byte order */#define SQLITE_ANY            5    /* sqlite3_create_function only */#define SQLITE_UTF16_ALIGNED  8    /* sqlite3_create_collation only */</pre></blockquote></td></tr><tr><td valign="top">H10280</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>typedef void (*sqlite3_destructor_type)(void*);#define SQLITE_STATIC      ((sqlite3_destructor_type)0)#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)</pre></blockquote></td></tr><tr><td valign="top">H10310</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>SQLITE_EXTERN char *sqlite3_temp_directory;</pre></blockquote></td></tr><tr><td valign="top">H10330</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_enable_shared_cache(int);</pre></blockquote></td></tr><tr><td valign="top">H10331</td><td valign="top">A successful invocation of <a href="c3ref/enable_shared_cache.html">sqlite3_enable_shared_cache(B)</a>will enable or disable shared cache mode for any subsequentlycreated <a href="c3ref/sqlite3.html">database connection</a> in the same process. </td></tr><tr><td valign="top">H10336</td><td valign="top">When shared cache is enabled, the <a href="c3ref/create_module.html">sqlite3_create_module()</a>interface will always return an error. </td></tr><tr><td valign="top">H10337</td><td valign="top">The <a href="c3ref/enable_shared_cache.html">sqlite3_enable_shared_cache(B)</a> interface returns<a href="c3ref/c_abort.html">SQLITE_OK</a> if shared cache was enabled or disabled successfully. </td></tr><tr><td valign="top">H10339</td><td valign="top">Shared cache is disabled by default. </td></tr><tr><td valign="top">H10510</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_complete(const char *sql);int sqlite3_complete16(const void *sql);</pre></blockquote></td></tr><tr><td valign="top">H10511</td><td valign="top">A successful evaluation of <a href="c3ref/complete.html">sqlite3_complete()</a> or<a href="c3ref/complete.html">sqlite3_complete16()</a> functions shallreturn a numeric 1 if and only if the last non-whitespacetoken in their input is a semicolon that is not in betweenthe BEGIN and END of a CREATE TRIGGER statement. </td></tr><tr><td valign="top">H10512</td><td valign="top">If a memory allocation error occurs during an invocationof <a href="c3ref/complete.html">sqlite3_complete()</a> or <a href="c3ref/complete.html">sqlite3_complete16()</a> then theroutine shall return <a href="c3ref/c_abort.html">SQLITE_NOMEM</a>. </td></tr><tr><td valign="top">H10530</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_sleep(int);</pre></blockquote></td></tr><tr><td valign="top">H10533</td><td valign="top">The <a href="c3ref/sleep.html">sqlite3_sleep(M)</a> interface invokes the xSleepmethod of the default <a href="c3ref/vfs.html">VFS</a> in order tosuspend execution of the current thread for at leastM milliseconds. </td></tr><tr><td valign="top">H10536</td><td valign="top">The <a href="c3ref/sleep.html">sqlite3_sleep(M)</a> interface returns the number ofmilliseconds of sleep actually requested of the operatingsystem, which might be larger than the parameter M. </td></tr><tr><td valign="top">H11110</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>typedef struct sqlite3_file sqlite3_file;struct sqlite3_file {  const struct sqlite3_io_methods *pMethods;  /* Methods for an open file */};</pre></blockquote></td></tr><tr><td valign="top">H11120</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>typedef struct sqlite3_io_methods sqlite3_io_methods;struct sqlite3_io_methods {  int iVersion;  int (*xClose)(sqlite3_file*);  int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);  int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);  int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);  int (*xSync)(sqlite3_file*, int flags);  int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);  int (*xLock)(sqlite3_file*, int);  int (*xUnlock)(sqlite3_file*, int);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -