Debian Codegraph @

ext/fts5/test/fts5unicode4.test

raw
1 # 2018 July 25
2 #
3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
5 #
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
9 #
10 #***********************************************************************
11 #
12 #
13
14 source [file join [file dirname [info script]] fts5_common.tcl]
15 set testprefix fts5unicode4
16
17 # If SQLITE_ENABLE_FTS5 is defined, omit this file.
18 ifcapable !fts5 {
19 finish_test
20 return
21 }
22
23 do_execsql_test 1.0 {
24 CREATE VIRTUAL TABLE sss USING fts5(a, prefix=3);
25 }
26
27 do_execsql_test 1.1 {
28 INSERT INTO sss VALUES('γΎγ‚Šγ‚„');
29 }
30
31 finish_test