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

📄 reqmatrix.html

📁 sqlite3源码,适合作为嵌入式(embedded)
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<td valign="top"><a name="H10160">H10160</a></td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_CONFIG_SINGLETHREAD  1  /* nil */#define SQLITE_CONFIG_MULTITHREAD   2  /* nil */#define SQLITE_CONFIG_SERIALIZED    3  /* nil */#define SQLITE_CONFIG_MALLOC        4  /* sqlite3_mem_methods* */#define SQLITE_CONFIG_GETMALLOC     5  /* sqlite3_mem_methods* */#define SQLITE_CONFIG_SCRATCH       6  /* void*, int sz, int N */#define SQLITE_CONFIG_PAGECACHE     7  /* void*, int sz, int N */#define SQLITE_CONFIG_HEAP          8  /* void*, int nByte, int min */#define SQLITE_CONFIG_MEMSTATUS     9  /* boolean */#define SQLITE_CONFIG_MUTEX        10  /* sqlite3_mutex_methods* */#define SQLITE_CONFIG_GETMUTEX     11  /* sqlite3_mutex_methods* *//* previously SQLITE_CONFIG_CHUNKALLOC 12 which is now unused. */#define SQLITE_CONFIG_LOOKASIDE    13  /* int int */#define SQLITE_CONFIG_PCACHE       14  /* sqlite3_pcache_methods* */#define SQLITE_CONFIG_GETPCACHE    15  /* sqlite3_pcache_methods* */</pre></blockquote><p>Parents: <a href="#S20000">S20000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10170">H10170</a></td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_DBCONFIG_LOOKASIDE    1001  /* void* int int */</pre></blockquote><p>Parents: <a href="#S20000">S20000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10200">H10200</a></td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#ifdef SQLITE_INT64_TYPEtypedef SQLITE_INT64_TYPE sqlite_int64;typedef unsigned SQLITE_INT64_TYPE sqlite_uint64;#elif defined(_MSC_VER) || defined(__BORLANDC__)typedef __int64 sqlite_int64;typedef unsigned __int64 sqlite_uint64;#elsetypedef long long int sqlite_int64;typedef unsigned long long int sqlite_uint64;#endiftypedef sqlite_int64 sqlite3_int64;typedef sqlite_uint64 sqlite3_uint64;</pre></blockquote><p>Parents: <a href="#S10110">S10110</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10201">H10201</a></td><td valign="top">The <a href="c3ref/int64.html">sqlite_int64</a> and <a href="c3ref/int64.html">sqlite3_int64</a> type shall specifya 64-bit signed integer.<p>Parents: <a href="#S10110">S10110</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10202">H10202</a></td><td valign="top">The <a href="c3ref/int64.html">sqlite_uint64</a> and <a href="c3ref/int64.html">sqlite3_uint64</a> type shall specifya 64-bit unsigned integer.<p>Parents: <a href="#S10110">S10110</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10210">H10210</a></td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>#define SQLITE_OK           0   /* Successful result *//* beginning-of-error-codes */#define SQLITE_ERROR        1   /* SQL error or missing database */#define SQLITE_INTERNAL     2   /* Internal logic error in SQLite */#define SQLITE_PERM         3   /* Access permission denied */#define SQLITE_ABORT        4   /* Callback routine requested an abort */#define SQLITE_BUSY         5   /* The database file is locked */#define SQLITE_LOCKED       6   /* A table in the database is locked */#define SQLITE_NOMEM        7   /* A malloc() failed */#define SQLITE_READONLY     8   /* Attempt to write a readonly database */#define SQLITE_INTERRUPT    9   /* Operation terminated by sqlite3_interrupt()*/#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><p>Parents: <a href="#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10220">H10220</a></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))#define SQLITE_IOERR_CLOSE             (SQLITE_IOERR | (16&lt;&lt;8))#define SQLITE_IOERR_DIR_CLOSE         (SQLITE_IOERR | (17&lt;&lt;8))</pre></blockquote><p>Parents: <a href="#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10223">H10223</a></td><td valign="top">The symbolic name for an extended result code shall containsa related primary result code as a prefix.<p>Parents: <a href="#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10224">H10224</a></td><td valign="top">Primary result code names shall contain a single "_" character.<p>Parents: <a href="#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10225">H10225</a></td><td valign="top">Extended result code names shall contain two or more "_" characters.<p>Parents: <a href="#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10226">H10226</a></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.<p>Parents: <a href="#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10230">H10230</a></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><p>Parents: <a href="#H11120">H11120</a> <a href="#H12700">H12700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10240">H10240</a></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><p>Parents: <a href="#H11120">H11120</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10250">H10250</a></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><p>Parents: <a href="#H11120">H11120</a> <a href="#H11310">H11310</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10260">H10260</a></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><p>Parents: <a href="#H11120">H11120</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10265">H10265</a></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><p>Parents: <a href="#S10110">S10110</a> <a href="#S10120">S10120</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10267">H10267</a></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><p>Parents: <a href="#S50200">S50200</a> <a href="#H16100">H16100</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10280">H10280</a></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><p>Parents: <a href="#S30100">S30100</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10310">H10310</a></td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>SQLITE_EXTERN char *sqlite3_temp_directory;</pre></blockquote><p>Parents: <a href="#S20000">S20000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10330">H10330</a></td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_enable_shared_cache(int);</pre></blockquote><p>Parents: <a href="#S30900">S30900</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10331">H10331</a></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.<p>Parents: <a href="#S30900">S30900</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10336">H10336</a></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.<p>Parents: <a href="#S30900">S30900</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10337">H10337</a></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.<p>Parents: <a href="#S30900">S30900</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10339">H10339</a></td><td valign="top">Shared cache is disabled by default.<p>Parents: <a href="#S30900">S30900</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10510">H10510</a></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><p>Parents: <a href="#S70200">S70200</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10511">H10511</a></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.<p>Parents: <a href="#S70200">S70200</a></p><p><i>No children</i></p></td></tr><tr><td valign="top"><a name="H10512">H10512</a></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>.<p>Parents: <a href="#S70200">S70200</a></p><p><i>No children</i></p></td></tr>

⌨️ 快捷键说明

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