Home
last modified time | relevance | path

Searched refs:vtab (Results 1 – 25 of 143) sorted by relevance

123456

/sqlite-3.40.0/src/
H A Dvtab.c234 pVTable = p->u.vtab.p; in vtabDisconnectAll()
235 p->u.vtab.p = 0; in vtabDisconnectAll()
251 p->u.vtab.p = pRet; in vtabDisconnectAll()
345 if( p->u.vtab.azArg ){ in sqlite3VtabClear()
421 if( pTable->u.vtab.azArg ){ in sqlite3VtabBeginParse()
568 int nArg = pTab->u.vtab.nArg; in vtabCallConstructor()
647 pTab->u.vtab.p = pVTable; in vtabCallConstructor()
706 zMod = pTab->u.vtab.azArg[0]; in sqlite3VtabCallConnect()
776 zMod = pTab->u.vtab.azArg[0]; in sqlite3VtabCallCreate()
908 && ALWAYS(pTab->u.vtab.p!=0) in sqlite3VtabCallDestroy()
[all …]
H A Dwherecode.c204 pLoop->u.vtab.idxNum, pLoop->u.vtab.idxStr); in sqlite3WhereExplainOneScan()
1425 if( SMASKBIT32(j) & pLoop->u.vtab.mHandleIn ){ in sqlite3WhereCodeOneLoopStart()
1438 && pLoop->u.vtab.bOmitOffset in sqlite3WhereCodeOneLoopStart()
1448 sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg); in sqlite3WhereCodeOneLoopStart()
1451 pLoop->u.vtab.idxStr, in sqlite3WhereCodeOneLoopStart()
1452 pLoop->u.vtab.needFree ? P4_DYNAMIC : P4_STATIC); in sqlite3WhereCodeOneLoopStart()
1454 pLoop->u.vtab.needFree = 0; in sqlite3WhereCodeOneLoopStart()
1457 if( db->mallocFailed ) pLoop->u.vtab.idxStr = 0; in sqlite3WhereCodeOneLoopStart()
1465 if( j<16 && (pLoop->u.vtab.omitMask>>j)&1 ){ in sqlite3WhereCodeOneLoopStart()
1470 && (SMASKBIT32(j) & pLoop->u.vtab.mHandleIn)==0 in sqlite3WhereCodeOneLoopStart()
H A Dwhere.c2165 if( p->u.vtab.idxStr ){ in sqlite3WhereLoopPrint()
2167 p->u.vtab.idxNum, p->u.vtab.idxStr, p->u.vtab.omitMask); in sqlite3WhereLoopPrint()
2169 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask); in sqlite3WhereLoopPrint()
2207 p->u.vtab.needFree = 0; in whereLoopClearUnion()
2208 p->u.vtab.idxStr = 0; in whereLoopClearUnion()
2262 pFrom->u.vtab.needFree = 0; in whereLoopXfer()
3740 memset(&pNew->u.vtab, 0, sizeof(pNew->u.vtab)); in whereLoopAddVirtualOne()
3838 if( pNew->u.vtab.needFree ){ in whereLoopAddVirtualOne()
3840 pNew->u.vtab.needFree = 0; in whereLoopAddVirtualOne()
4025 pNew->u.vtab.needFree = 0; in whereLoopAddVirtual()
[all …]
H A Dtest8.c1241 sqlite3_vtab *vtab, in echoFindFunction() argument
1247 echo_vtab *pVtab = (echo_vtab *)vtab; in echoFindFunction()
1261 static int echoRename(sqlite3_vtab *vtab, const char *zNewName){ in echoRename() argument
1263 echo_vtab *p = (echo_vtab *)vtab; in echoRename()
/sqlite-3.40.0/ext/fts5/tool/
H A Dloadfts5.tcl56 set O(vtab) fts5
73 set O(vtab) fts4
77 set O(vtab) fts5
139 if {$O(vtab)=="fts5"} {
143 db eval "CREATE VIRTUAL TABLE t1 USING $O(vtab) (path, content$O(tok)$pref)"
155 if {$O(vtab) == "fts5"} {
162 if {$O(vtab) == "fts5"} {
/sqlite-3.40.0/test/
H A Dpragma4.test143 ifcapable vtab {
157 ifcapable vtab {
173 ifcapable vtab {
184 ifcapable vtab {
194 ifcapable vtab {
205 ifcapable vtab {
217 ifcapable vtab {
232 ifcapable vtab {
H A Dvtab1.test20 ifcapable !vtab||!schema_pragmas {
129 do_test vtab-1.2152.2 {
133 do_test vtab-1.2152.3 {
138 do_test vtab-1.2152.4 {
1051 } {1 {echo-vtab-error: UNIQUE constraint failed: c.a}}
1054 } {echo-vtab-error: UNIQUE constraint failed: c.a}
1063 } {1 {echo-vtab-error: UNIQUE constraint failed: c.a}}
1232 } "1 {echo-vtab-error: the $method method has failed}"
1245 } "1 {echo-vtab-error: the $method method has failed}"
1254 } "1 {echo-vtab-error: the xRename method has failed}"
[all …]
H A Dbestindex4.test19 ifcapable !vtab {
127 # SELECT * FROM tbl, vtab(tbl.x);
129 # The implicit constraint "tbl.x = vtab.hidden" is not optimized using
H A Daltermalloc.test47 ifcapable vtab {
48 do_malloc_test altermalloc-vtab -tclprep {
H A Dunionvtabfault.test19 ifcapable !vtab {
71 # Error while registering the two vtab modules.
H A DcorruptK.test118 ifcapable vtab {
230 } ;# ifcapable vtab
H A Dspellfix3.test17 ifcapable !vtab { finish_test ; return }
H A Dvtabdistinct.test19 ifcapable !vtab {
H A Dvtab_shared.test20 ifcapable !vtab||!shared_cache {
163 # Try an UPDATE/INSERT/DELETE on a shared vtab as the first statement after a
H A Dfts3corrupt4.test917 | 3232: 25 1e 00 00 04 76 74 61 62 03 25 0b 00 86 50 01 %....vtab.%...P.
958 | 3888: 00 01 02 00 0a 12 00 00 04 76 74 61 62 09 07 04 .........vtab...
1140 | 3232: 25 1e 00 00 04 76 74 61 62 03 25 0b 00 86 50 01 %....vtab.%...P.
1181 | 3888: 00 01 02 00 02 02 00 00 04 76 74 61 62 09 07 04 .........vtab...
1369 | 3232: 25 1e 00 00 04 76 74 61 62 03 25 0b 00 86 50 01 %....vtab.%...P.
1410 | 3888: 00 01 02 00 01 02 00 00 04 76 74 61 62 09 07 04 .........vtab...
1631 | 2832: 61 62 6c 65 05 0e 01 01 02 00 00 04 76 74 61 62 able........vtab
1656 | 3232: 25 1e 00 00 04 76 74 61 62 03 25 0b 00 86 50 01 %....vtab.%...P.
1697 | 3888: 00 01 02 00 02 02 00 00 04 76 74 61 62 09 07 04 .........vtab...
1881 | 3232: 25 1e 00 00 04 76 74 61 62 03 25 0b 00 86 50 01 %....vtab.%...P.
[all …]
H A Dstatfault.test18 ifcapable !vtab||!compound {
H A DcorruptN.test198 ifcapable json1&&vtab {
228 }; # ifcapable json1&&vtab
H A Dtkt3871.test5 ifcapable !vtab {
H A Dtkt3121.test17 ifcapable !vtab {
H A DvtabF.test19 ifcapable !vtab||!schema_pragmas { finish_test ; return }
H A Dwithout_rowid7.test19 ifcapable vtab { uplevel [list do_execsql_test $tn $sql $res] }
H A Danalyzer1.test17 ifcapable !vtab {
/sqlite-3.40.0/ext/misc/
H A DREADME.md15 [table-valued function](https://www.sqlite.org/vtab.html#tabfunc2).
17 * **csv.c** &mdash; A [virtual table](https://sqlite.org/vtab.html)
41 "generate_series" [virtual table](https://www.sqlite.org/vtab.html).
58 * **zipfile.c** &mdash; A [virtual table](https://sqlite.org/vtab.html)
/sqlite-3.40.0/ext/rbu/
H A Drbuprogress.test361 vtab {
366 if {$tn=="vtab"} { ifcapable !fts5 break }
411 set R(vtab) $r2
/sqlite-3.40.0/doc/
H A Dtrusted-schema.md101 <li> _SQLITE\_VTAB\_INNOCUOUS_ &rarr; tags the vtab as Innocuous
102 <li> _SQLITE\_VTAB\_DIRECTONLY_ &rarr; tags the vtab as Direct-Only

123456