Documentation Source Text

Check-in [cf02ec8132]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in the Error and Warning log page.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cf02ec81329d8571c59c536a9eb1231ed1486ca1
User & Date: drh 2016-05-05 23:51:53
Context
2016-05-06
20:39
Update the change log for the DELETE-WHERE-OR bug. check-in: cfe4d98e00 user: drh tags: trunk
2016-05-05
23:51
Fix a typo in the Error and Warning log page. check-in: cf02ec8132 user: drh tags: trunk
23:40
Add sub-bullets in the description of the b-tree page type flag in fileformat2.html, for improved legibility. check-in: ff214d6ba0 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/errlog.in.

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<h2>Setting Up The Error Logging Callback</h2>

<p>There can only be a single error logging callback per process.
The error logging callback is registered at start-time using C-code
similar to the following:

<blockquote><pre>
[sqlite3_config]([SQLITE_CONFIG_LOG], errLogCallback, pData);
</pre></blockquote>

<p>The error logger callback function might look something like this:</p>

<blockquote><pre>
void errorLogCallback(void *pArg, int iErrCode, const char *zMsg){
  fprintf(stderr, "(%d) %s\n", iErrCode, zMsg);







|







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<h2>Setting Up The Error Logging Callback</h2>

<p>There can only be a single error logging callback per process.
The error logging callback is registered at start-time using C-code
similar to the following:

<blockquote><pre>
[sqlite3_config]([SQLITE_CONFIG_LOG], errorLogCallback, pData);
</pre></blockquote>

<p>The error logger callback function might look something like this:</p>

<blockquote><pre>
void errorLogCallback(void *pArg, int iErrCode, const char *zMsg){
  fprintf(stderr, "(%d) %s\n", iErrCode, zMsg);