Documentation Source Text

Check-in [ec9c8be989]
Login

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

Overview
Comment:Fix typo in the vtab.html document.
Timelines: family | ancestors | descendants | both | branch-3.22
Files: files | file ages | folders
SHA3-256:ec9c8be98952854d9ae2bfbbdc8b597e3b28d9ec0be3352608c7d5c81358d10f
User & Date: drh 2018-02-07 20:35:07
Context
2018-02-13
15:40
Add initial words for the assert.html document. Clearly label the document as a work-in-progress for now. check-in: 076b02c111 user: drh tags: branch-3.22
2018-02-07
20:35
Fix typo in the vtab.html document. check-in: ec9c8be989 user: drh tags: branch-3.22
2018-02-05
21:20
Fix another typo on the copyright page. check-in: 1f78a04da9 user: drh tags: branch-3.22
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/vtab.in.

132
133
134
135
136
137
138
139

140
141
142
143
144
145
146
<codeblock>
   SELECT * FROM dbstat;
</codeblock>

<p>A virtual table is eponymous if its [xCreate] method is the exact same
function as the [xConnect] method, or if the [xCreate] method is NULL.
The [xCreate] method is called when a virtual table is first created
using the [CREATE VIRTUAL TABLE] statement.  The [xConnect] method whenever

a database connection attaches to or reparses a schema. When these two methods
are the same, that indicates that the virtual table has no persistent
state that needs to be created and destroyed.

<tcl>hd_fragment epoonlyvtab {eponymous-only virtual table}</tcl>
<h3>Eponymous-only virtual tables</h3>
<p>If the [xCreate] method is NULL, then







|
>







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<codeblock>
   SELECT * FROM dbstat;
</codeblock>

<p>A virtual table is eponymous if its [xCreate] method is the exact same
function as the [xConnect] method, or if the [xCreate] method is NULL.
The [xCreate] method is called when a virtual table is first created
using the [CREATE VIRTUAL TABLE] statement.  The [xConnect] method 
is invoked whenever
a database connection attaches to or reparses a schema. When these two methods
are the same, that indicates that the virtual table has no persistent
state that needs to be created and destroyed.

<tcl>hd_fragment epoonlyvtab {eponymous-only virtual table}</tcl>
<h3>Eponymous-only virtual tables</h3>
<p>If the [xCreate] method is NULL, then