Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 98) sorted by relevance

1234

/sqlite-3.40.0/ext/fts5/test/
H A Dfts5config.test39 # Syntax errors in the prefix= option.
42 1 {prefix=x}
43 2 {prefix='x'}
44 3 {prefix='$'}
45 4 {prefix='1,2,'}
46 5 {prefix=',1'}
47 6 {prefix='1,2,3...'}
48 7 {prefix='1,2,3xyz'}
122 # Errors in prefix= directives.
126 } {1 {prefix length out of range (max 999)}}
[all …]
H A Dfts5prefix.test12 # This file contains tests focused on prefix indexes.
25 CREATE VIRTUAL TABLE xx USING fts5(x, prefix=1);
37 # Check that prefix indexes really do index n-character prefixes, not
42 CREATE VIRTUAL TABLE t1 USING fts5(x, tokenize = ascii, prefix = 2)
66 # Check that prefix queries with:
69 # * no prefix index.
302 # Check that the various ways of creating prefix indexes produce the
307 1 { CREATE VIRTUAL TABLE tt USING fts5(x, y, prefix="1,2,3") }
308 2 { CREATE VIRTUAL TABLE tt USING fts5(x, y, prefix="1 2 3") }
309 3 { CREATE VIRTUAL TABLE tt USING fts5(x, y, prefix=1, prefix=2, prefix=3) }
[all …]
H A Dfts5prefix2.test12 # This file contains tests focused on prefix indexes.
27 CREATE VIRTUAL TABLE t1 USING fts5(xyz, prefix=$p);
45 CREATE VIRTUAL TABLE t2 USING fts5(one, prefix=3);
H A Dfts5determin.test36 CREATE VIRTUAL TABLE t1 USING fts5(a, b, prefix="1 2", detail=%DETAIL%);
37 CREATE VIRTUAL TABLE t2 USING fts5(a, b, prefix="1 2", detail=%DETAIL%);
38 CREATE VIRTUAL TABLE t3 USING fts5(a, b, prefix="1 2", detail=%DETAIL%);
H A Dfts5ad.test14 # More specifically, the focus is on testing prefix queries, both with and
15 # without prefix indexes.
65 CREATE VIRTUAL TABLE t1 USING fts5(a, b, prefix="1,2,3,4", detail=%DETAIL%);
76 CREATE VIRTUAL TABLE t1 USING fts5(a, b, prefix="1,2,3,4", detail=%DETAIL%);
217 1 {SELECT rowid FROM t1 WHERE t1 MATCH $prefix}
218 0 {SELECT rowid FROM t1 WHERE t1 MATCH $prefix ORDER BY rowid DESC}
220 foreach {tn prefix} {
229 set res [prefix_query $prefix]
H A Dfts5hash.test33 set O(-prefix) ""
44 set t "$O(-prefix)[random_token]"
83 set vocab [build_vocab1 -prefix xyz -hash $hash]
H A Dfts5misc.test225 CREATE VIRTUAL TABLE vt0 USING fts5(c0, tokenize = "ascii", prefix = 1);
257 CREATE VIRTUAL TABLE vt1 USING fts5(c1, c2, prefix = 1, tokenize = "ascii");
274 c0, prefix = 71, tokenize = "porter ascii", prefix = 9
/sqlite-3.40.0/autoconf/tea/tclconfig/
H A Dinstall-sh395 /*) prefix='/';;
396 -*) prefix='./';;
397 *) prefix='';;
416 prefix=$prefix$d
417 if test -d "$prefix"; then
424 test -d "$prefix" || exit 1
426 case $prefix in
428 *) qprefix=$prefix;;
433 prefix=$prefix/
/sqlite-3.40.0/test/
H A Dfts3prefix.test95 CREATE VIRTUAL TABLE t1 USING fts4(prefix='1,3,6');
179 # Simple tests for reading the prefix-index.
182 CREATE VIRTUAL TABLE t3 USING fts4(prefix="1,4");
207 CREATE VIRTUAL TABLE t4 USING fts4(prefix="abc");
208 } {1 {error parsing prefix parameter: abc}}
210 CREATE VIRTUAL TABLE t4 USING fts4(prefix="");
213 CREATE VIRTUAL TABLE t5 USING fts4(prefix="-1");
214 } {1 {error parsing prefix parameter: -1}}
222 CREATE VIRTUAL TABLE t1 USING fts4(prefix=0);
234 CREATE VIRTUAL TABLE t2 USING fts4(prefix="1,2");
[all …]
H A Dwal6.test118 proc test3 {prefix} {
119 do_test $prefix.1 {
122 do_test $prefix.2 {
125 do_test $prefix.3 {
128 do_test $prefix.4 {
150 proc test4 {prefix} {
151 do_test $prefix.1 {
155 do_test $prefix.2 {
159 do_test $prefix.3 {
162 do_test $prefix.4 {
H A Dfts3an.test6 # This file implements tests for prefix-searching in the fts3
49 # And a prefix
59 # Make certain everything isn't considered a prefix!
89 # Phrase-query prefix.
97 # Phrase query with multiple prefix matches.
102 # Phrase query with multiple prefix matches.
128 # Can't see a prefix of lorem, either.
189 # prefix in a single segment.
H A Dpermutations.test37 set default(-prefix) "${name}."
196 test_suite "shell" -prefix "" -description {
258 test_suite "quick" -prefix "" -description {
264 test_suite "full" -prefix "" -description {
279 test_suite "fts3" -prefix "" -description {
305 test_suite "fts5" -prefix "" -description {
323 test_suite "lsm1" -prefix "" -description {
1132 # -prefix NAME
1138 set options(-prefix) ""
1145 set ::G(perm:prefix) $options(-prefix)
[all …]
H A Dfts2n.test6 # This file implements tests for prefix-searching in the fts2
49 # And a prefix
59 # Make certain everything isn't considered a prefix!
89 # Phrase-query prefix.
97 # Phrase query with multiple prefix matches.
102 # Phrase query with multiple prefix matches.
128 # Can't see a prefix of lorem, either.
H A Dswarmvtab3.test87 'SELECT :prefix || id, tbl, minval, minval FROM swarm',
88 :prefix='test.db',
97 'SELECT :prefix || id, tbl, minval, minval FROM swarm',
98 :prefix='test.db',
107 'SELECT :prefix||''.''||:suffix||id, tbl, minval, minval FROM swarm',
108 :prefix=test, :suffix=db,
H A Dfts4check.test83 # prefix indexes.
92 do_test 2.0 { fts3_build_db_2 -extra {prefix="3,1"} 20000 } {}
117 # prefix indexes and uses the languageid= feature.
129 CREATE VIRTUAL TABLE t3 USING fts4(x, y, prefix="2,3", languageid=langid);
193 CREATE VIRTUAL TABLE t5 USING fts4(a, prefix="1,2,3");
213 CREATE VIRTUAL TABLE t5 USING fts4(a, prefix="1,2,3");
H A Dfts3rnd.test46 # 2. query = <prefix>
49 # 5. query = "<prefix> <prefix> <prefix>"
60 # and prefix is the first 2 characters of such a term followed by
349 # This time, use the first two characters of each term as a term prefix
351 # as querying the FTS3 table for the prefix.
354 set prefix [string range [random_term] 0 end-1]
355 set match "${prefix}*"
H A Ddiskfull.test56 proc do_diskfull_test {prefix sql} {
62 do_test ${prefix}.$::i.1 {
78 integrity_check ${prefix}.$::i.2
H A Dfts3auto.test447 4 "fts4(a, b, prefix=1)"
448 5 "fts4(a, b, order=DESC, prefix=1)"
449 6 "fts4(a, b, order=ASC, prefix=1)"
534 3 "fts4(x, y, order=DESC, prefix=2)"
583 # The following test cases - fts3auto-5.* - focus on using prefix indexes.
588 2 "fts4(a, b, order=ASC, prefix=1)" 1
589 3 "fts4(a, b, order=ASC, prefix=\"1,3\")" 0
590 4 "fts4(a, b, order=DESC, prefix=\"2,4\")" 0
591 5 "fts4(a, b, order=DESC, prefix=\"1\")" 0
592 6 "fts4(a, b, order=ASC, prefix=\"1,3\")" 0
/sqlite-3.40.0/tool/
H A Dmkopts.tcl8 set prefix {}
16 if {$px!=""} {set prefix $p2}
20 puts " static const char *${prefix}_strs\[\] = \173"
45 puts " enum ${prefix}_enum \173"
48 put_item ${prefix}_[string toupper $name],
/sqlite-3.40.0/src/
H A Dprintf.c440 prefix = '-'; in sqlite3_str_vappendf()
443 prefix = flag_prefix; in sqlite3_str_vappendf()
457 prefix = 0; in sqlite3_str_vappendf()
511 if( prefix ) *(--bufpt) = prefix; /* Add sign */ in sqlite3_str_vappendf()
539 prefix = '-'; in sqlite3_str_vappendf()
541 prefix = flag_prefix; in sqlite3_str_vappendf()
574 buf[0] = prefix; in sqlite3_str_vappendf()
576 length = 3+(prefix!=0); in sqlite3_str_vappendf()
617 if( prefix ){ in sqlite3_str_vappendf()
618 *(bufpt++) = prefix; in sqlite3_str_vappendf()
[all …]
/sqlite-3.40.0/autoconf/
H A DINSTALL65 documentation. When installing into a prefix owned by root, it is
146 can specify an installation prefix other than `/usr/local' by giving
147 `configure' the option `--prefix=PREFIX', where PREFIX must be an
153 PREFIX as the prefix for installing programs and libraries.
154 Documentation and other data files still use the regular prefix.
161 specifying just `--prefix' will affect all of the other directory
175 but not in terms of `${prefix}', must each be overridden at install
197 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
253 ./configure --prefix=/boot/common
291 default values for variables like `CC', `cache_file', and `prefix'.
[all …]
/sqlite-3.40.0/ext/fts5/tool/
H A Dloadfts5.tcl62 set O(prefix) ""
108 -prefix {
110 set O(prefix) [lindex $argv $i]
138 if {$O(prefix)!=""} { set pref ", prefix='$O(prefix)'" }
/sqlite-3.40.0/
H A Dsqlite.pc.in3 prefix=@prefix@
H A Dsqlite3.pc.in3 prefix=@prefix@
/sqlite-3.40.0/ext/wasm/api/
H A Dpre-js.js31 Module['locateFile'] = function(path, prefix) { argument
41 theFile = prefix + path;

1234