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

📄 reqmatrix.html

📁 sqlite的帮助文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
C. <p>Parents: <a href="sysreq.html#S30100">S30100</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12014</td><td valign="top">A call to <a href="c3ref/close.html">sqlite3_close(C)</a> on a <a href="c3ref/sqlite3.html">database connection</a> C thathas one or more open <a href="c3ref/stmt.html">prepared statements</a> shall fail withan <a href="c3ref/c_abort.html">SQLITE_BUSY</a> error code. <p>Parents: <a href="sysreq.html#S30100">S30100</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12015</td><td valign="top">A call to <a href="c3ref/close.html">sqlite3_close(C)</a> where C is a NULL pointer shallbe a harmless no-op returning SQLITE_OK. <p>Parents: <a href="sysreq.html#S30100">S30100</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12019</td><td valign="top">When <a href="c3ref/close.html">sqlite3_close(C)</a> is invoked on a <a href="c3ref/sqlite3.html">database connection</a> Cthat has a pending transaction, the transaction shall berolled back. <p>Parents: <a href="sysreq.html#S30100">S30100</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12100</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_exec(  sqlite3*,                                  /* An open database */  const char *sql,                           /* SQL to be evaluated */  int (*callback)(void*,int,char**,char**),  /* Callback function */  void *,                                    /* 1st argument to callback */  char **errmsg                              /* Error msg written here */);</pre></blockquote><p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12101</td><td valign="top">A successful invocation of <a href="c3ref/exec.html">sqlite3_exec(D,S,C,A,E)</a>shall sequentially evaluate all of the UTF-8 encoded,semicolon-separated SQL statements in the zero-terminatedstring S within the context of the <a href="c3ref/sqlite3.html">database connection</a> D. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12102</td><td valign="top">If the S parameter to <a href="c3ref/exec.html">sqlite3_exec(D,S,C,A,E)</a> is NULL thenthe actions of the interface shall be the same as if theS parameter were an empty string. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12104</td><td valign="top">The return value of <a href="c3ref/exec.html">sqlite3_exec()</a> shall be <a href="c3ref/c_abort.html">SQLITE_OK</a> if allSQL statements run successfully and to completion. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12105</td><td valign="top">The return value of <a href="c3ref/exec.html">sqlite3_exec()</a> shall be an appropriatenon-zero <a href="c3ref/c_abort.html">error code</a> if any SQL statement fails. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12107</td><td valign="top">If one or more of the SQL statements handed to <a href="c3ref/exec.html">sqlite3_exec()</a>return results and the 3rd parameter is not NULL, thenthe callback function specified by the 3rd parameter shall beinvoked once for each row of result. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12110</td><td valign="top">If the callback returns a non-zero value then <a href="c3ref/exec.html">sqlite3_exec()</a>shall abort the SQL statement it is currently evaluating,skip all subsequent SQL statements, and return <a href="c3ref/c_abort.html">SQLITE_ABORT</a>. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12113</td><td valign="top">The <a href="c3ref/exec.html">sqlite3_exec()</a> routine shall pass its 4th parameter throughas the 1st parameter of the callback. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12116</td><td valign="top">The <a href="c3ref/exec.html">sqlite3_exec()</a> routine shall set the 2nd parameter of itscallback to be the number of columns in the current row ofresult. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12119</td><td valign="top">The <a href="c3ref/exec.html">sqlite3_exec()</a> routine shall set the 3rd parameter of itscallback to be an array of pointers to strings holding thevalues for each column in the current result set row asobtained from <a href="c3ref/column_blob.html">sqlite3_column_text()</a>. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12122</td><td valign="top">The <a href="c3ref/exec.html">sqlite3_exec()</a> routine shall set the 4th parameter of itscallback to be an array of pointers to strings holding thenames of result columns as obtained from <a href="c3ref/column_name.html">sqlite3_column_name()</a>. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12125</td><td valign="top">If the 3rd parameter to <a href="c3ref/exec.html">sqlite3_exec()</a> is NULL then<a href="c3ref/exec.html">sqlite3_exec()</a> shall silently discard query results. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12131</td><td valign="top">If an error occurs while parsing or evaluating any of the SQLstatements in the S parameter of <a href="c3ref/exec.html">sqlite3_exec(D,S,C,A,E)</a> and ifthe E parameter is not NULL, then <a href="c3ref/exec.html">sqlite3_exec()</a> shall storein *E an appropriate error message written into memory obtainedfrom <a href="c3ref/free.html">sqlite3_malloc()</a>. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12134</td><td valign="top">The <a href="c3ref/exec.html">sqlite3_exec(D,S,C,A,E)</a> routine shall set the value of*E to NULL if E is not NULL and there are no errors. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12137</td><td valign="top">The <a href="c3ref/exec.html">sqlite3_exec(D,S,C,A,E)</a> function shall set the <a href="c3ref/c_abort.html">error code</a>and message accessible via <a href="c3ref/errcode.html">sqlite3_errcode()</a>,<a href="c3ref/errcode.html">sqlite3_extended_errcode()</a>,<a href="c3ref/errcode.html">sqlite3_errmsg()</a>, and <a href="c3ref/errcode.html">sqlite3_errmsg16()</a>. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12138</td><td valign="top">If the S parameter to <a href="c3ref/exec.html">sqlite3_exec(D,S,C,A,E)</a> is NULL or anempty string or contains nothing other than whitespace, comments,and/or semicolons, then results of <a href="c3ref/errcode.html">sqlite3_errcode()</a>,<a href="c3ref/errcode.html">sqlite3_extended_errcode()</a>,<a href="c3ref/errcode.html">sqlite3_errmsg()</a>, and <a href="c3ref/errcode.html">sqlite3_errmsg16()</a>shall reset to indicate no errors. <p>Parents: <a href="sysreq.html#S10000">S10000</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12200</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_extended_result_codes(sqlite3*, int onoff);</pre></blockquote><p>Parents: <a href="sysreq.html#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12201</td><td valign="top">Each new <a href="c3ref/sqlite3.html">database connection</a> shall have the<a href="c3ref/c_ioerr_access.html">extended result codes</a> feature disabled by default. <p>Parents: <a href="sysreq.html#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12202</td><td valign="top">The <a href="c3ref/extended_result_codes.html">sqlite3_extended_result_codes(D,F)</a> interface shall enable<a href="c3ref/c_ioerr_access.html">extended result codes</a> for the  <a href="c3ref/sqlite3.html">database connection</a> Dif the F parameter is true, or disable them if F is false. <p>Parents: <a href="sysreq.html#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12220</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>sqlite3_int64 sqlite3_last_insert_rowid(sqlite3*);</pre></blockquote><p>Parents: <a href="sysreq.html#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12221</td><td valign="top">The <a href="c3ref/last_insert_rowid.html">sqlite3_last_insert_rowid()</a> function shall return the rowidof the most recent successful <a href="lang_insert.html">INSERT</a> performed on the same<a href="c3ref/sqlite3.html">database connection</a> and within the same or higher leveltrigger context, or zero if there have been no qualifying<a href="lang_insert.html">INSERT</a> statements. <p>Parents: <a href="sysreq.html#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12223</td><td valign="top">The <a href="c3ref/last_insert_rowid.html">sqlite3_last_insert_rowid()</a> function shall return thesame value when called from the same trigger contextimmediately before and after a <a href="lang_transaction.html">ROLLBACK</a>. <p>Parents: <a href="sysreq.html#S10700">S10700</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12240</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_changes(sqlite3*);</pre></blockquote><p>Parents: <a href="sysreq.html#S10600">S10600</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12241</td><td valign="top">The <a href="c3ref/changes.html">sqlite3_changes()</a> function shall return the number ofrow changes caused by the most recent INSERT, UPDATE,or DELETE statement on the same database connection andwithin the same or higher trigger context, or zero if there havenot been any qualifying row changes. <p>Parents: <a href="sysreq.html#S10600">S10600</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12243</td><td valign="top">Statements of the form "DELETE FROM tablename" with noWHERE clause shall cause subsequent calls to<a href="c3ref/changes.html">sqlite3_changes()</a> to return zero, regardless of thenumber of rows originally in the table. <p>Parents: <a href="sysreq.html#S10600">S10600</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12260</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_total_changes(sqlite3*);</pre></blockquote><p>Parents: <a href="sysreq.html#S10600">S10600</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12261</td><td valign="top">The <a href="c3ref/total_changes.html">sqlite3_total_changes()</a> returns the total numberof row changes caused by INSERT, UPDATE, and/or DELETEstatements on the same <a href="c3ref/sqlite3.html">database connection</a>, in anytrigger context, since the database connection was created. <p>Parents: <a href="sysreq.html#S10600">S10600</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12263</td><td valign="top">Statements of the form "DELETE FROM tablename" with noWHERE clause shall not change the value returnedby <a href="c3ref/total_changes.html">sqlite3_total_changes()</a>. <p>Parents: <a href="sysreq.html#S10600">S10600</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12270</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>void sqlite3_interrupt(sqlite3*);</pre></blockquote><p>Parents: <a href="sysreq.html#S30500">S30500</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12271</td><td valign="top">The <a href="c3ref/interrupt.html">sqlite3_interrupt()</a> interface will force all runningSQL statements associated with the same database connectionto halt after processing at most one additional row of data. <p>Parents: <a href="sysreq.html#S30500">S30500</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12272</td><td valign="top">Any SQL statement that is interrupted by <a href="c3ref/interrupt.html">sqlite3_interrupt()</a>will return <a href="c3ref/c_abort.html">SQLITE_INTERRUPT</a>. <p>Parents: <a href="sysreq.html#S30500">S30500</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12280</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>void *sqlite3_trace(sqlite3*, void(*xTrace)(void*,const char*), void*);void *sqlite3_profile(sqlite3*,   void(*xProfile)(void*,const char*,sqlite3_uint64), void*);</pre></blockquote><p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12281</td><td valign="top">The callback function registered by <a href="c3ref/profile.html">sqlite3_trace()</a>shall be invokedwhenever an SQL statement first begins to execute andwhenever a trigger subprogram first begins to run. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12282</td><td valign="top">Each call to <a href="c3ref/profile.html">sqlite3_trace()</a> shall override the previouslyregistered trace callback. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12283</td><td valign="top">A NULL trace callback shall disable tracing. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12284</td><td valign="top">The first argument to the trace callback shall be a copy ofthe pointer which was the 3rd argument to <a href="c3ref/profile.html">sqlite3_trace()</a>. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12285</td><td valign="top">The second argument to the trace callback is azero-terminated UTF-8 string containing the original textof the SQL statement as it was passed into <a href="c3ref/prepare.html">sqlite3_prepare_v2()</a>or the equivalent, or an SQL comment indicating the beginningof a trigger subprogram. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12287</td><td valign="top">The callback function registered by <a href="c3ref/profile.html">sqlite3_profile()</a> is invokedas each SQL statement finishes. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12288</td><td valign="top">The first parameter to the profile callback is a copy ofthe 3rd parameter to <a href="c3ref/profile.html">sqlite3_profile()</a>. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12289</td><td valign="top">The second parameter to the profile callback is azero-terminated UTF-8 string that contains the complete text ofthe SQL statement as it was processed by <a href="c3ref/prepare.html">sqlite3_prepare_v2()</a>or the equivalent. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12290</td><td valign="top">The third parameter to the profile callback is an estimateof the number of nanoseconds of wall-clock time required torun the SQL statement from start to finish. <p>Parents: <a href="sysreq.html#S60400">S60400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12310</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_busy_handler(sqlite3*, int(*)(void*,int), void*);</pre></blockquote><p>Parents: <a href="sysreq.html#S40400">S40400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12311</td><td valign="top">The <a href="c3ref/busy_handler.html">sqlite3_busy_handler(D,C,A)</a> function shall replacebusy callback in the <a href="c3ref/sqlite3.html">database connection</a> D with a newa new busy handler C and application data pointer A. <p>Parents: <a href="sysreq.html#S40400">S40400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12312</td><td valign="top">Newly created <a href="c3ref/sqlite3.html">database connections</a> shall have a busyhandler of NULL. <p>Parents: <a href="sysreq.html#S40400">S40400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12314</td><td valign="top">When two or more <a href="c3ref/sqlite3.html">database connections</a> share a<a href="c3ref/enable_shared_cache.html">common cache</a>,the busy handler for the database connection currently usingthe cache shall be invoked when the cache encounters a lock. <p>Parents: <a href="sysreq.html#S40400">S40400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12316</td><td valign="top">If a busy handler callback returns zero, then the SQLite interfacethat provoked the locking event shall return <a href="c3ref/c_abort.html">SQLITE_BUSY</a>. <p>Parents: <a href="sysreq.html#S40400">S40400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12318</td><td valign="top">SQLite shall invokes the busy handler with two arguments whichare a copy of the pointer supplied by the 3rd parameter to<a href="c3ref/busy_handler.html">sqlite3_busy_handler()</a> and a count of the number of priorinvocations of the busy handler for the same locking event. <p>Parents: <a href="sysreq.html#S40400">S40400</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12340</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_busy_timeout(sqlite3*, int ms);</pre></blockquote><p>Parents: <a href="sysreq.html#S40410">S40410</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12341</td><td valign="top">The <a href="c3ref/busy_timeout.html">sqlite3_busy_timeout()</a> function shall override any prior<a href="c3ref/busy_timeout.html">sqlite3_busy_timeout()</a> or <a href="c3ref/busy_handler.html">sqlite3_busy_handler()</a> settingon the same <a href="c3ref/sqlite3.html">database connection</a>. <p>Parents: <a href="sysreq.html#S40410">S40410</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12343</td><td valign="top">If the 2nd parameter to <a href="c3ref/busy_timeout.html">sqlite3_busy_timeout()</a> is less thanor equal to zero, then the busy handler shall be cleared so thatall subsequent locking events immediately return <a href="c3ref/c_abort.html">SQLITE_BUSY</a>. <p>Parents: <a href="sysreq.html#S40410">S40410</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12344</td><td valign="top">If the 2nd parameter to <a href="c3ref/busy_timeout.html">sqlite3_busy_timeout()</a> is a positivenumber N, then a busy handler shall be set that repeatedly callsthe xSleep() method in the <a href="c3ref/vfs.html">VFS interface</a> untileither the lock clears or until the cumulative sleep timereported back by xSleep() exceeds N milliseconds. <p>Parents: <a href="sysreq.html#S40410">S40410</a></p><p><i>No children</i></p></td></tr><tr><td valign="top">H12370</td><td valign="top">The sqlite3.h header file shall define thethe following interfaces:<blockquote><pre>int sqlite3_get_table(  sqlite3 *db,          /* An open database */

⌨️ 快捷键说明

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