Documentation Source Text

Check-in [34e181958c]
Login

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

Overview
Comment:Fix a typo in vtab.html.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 34e181958ced32379b6c6d4046957e20f8230d5a
User & Date: dan 2014-07-03 11:15:53
Original Comment: Fix a typo in compile.html.
Context
2014-07-07
10:39
Add documentation for the "^" qualifier to fts3.html. check-in: 6a74a13c86 user: dan tags: trunk
2014-07-03
11:15
Fix a typo in vtab.html. check-in: 34e181958c user: dan tags: trunk
2014-07-02
16:24
Fix some typos in queryplanner-ng.in. check-in: 8471968fb0 user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/vtab.in.

326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
deallocated and/or reused as soon as the [sqlite3_declare_vtab()]
routine returns.

<p>The xCreate method need not initialize the pModule, nRef, and zErrMsg
fields of the [sqlite3_vtab] object.  The SQLite core will take care of 
that chore.

<p>The xCreate must should return [SQLITE_OK] if it is successful in 
creating the new virtual table, or [SQLITE_ERROR] if it is not successful.
If not successful, the [sqlite3_vtab] structure must not be allocated. 
An error message may optionally be returned in *pzErr if unsuccessful.
Space to hold the error message string must be allocated using
an SQLite memory allocation function like 
[sqlite3_malloc()] or [sqlite3_mprintf()] as the SQLite core will
attempt to free the space using [sqlite3_free()] after the error has







|







326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
deallocated and/or reused as soon as the [sqlite3_declare_vtab()]
routine returns.

<p>The xCreate method need not initialize the pModule, nRef, and zErrMsg
fields of the [sqlite3_vtab] object.  The SQLite core will take care of 
that chore.

<p>The xCreate should return [SQLITE_OK] if it is successful in 
creating the new virtual table, or [SQLITE_ERROR] if it is not successful.
If not successful, the [sqlite3_vtab] structure must not be allocated. 
An error message may optionally be returned in *pzErr if unsuccessful.
Space to hold the error message string must be allocated using
an SQLite memory allocation function like 
[sqlite3_malloc()] or [sqlite3_mprintf()] as the SQLite core will
attempt to free the space using [sqlite3_free()] after the error has