OLD | NEW |
1 # 2013 April 22 | 1 # 2013 April 22 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #************************************************************************* | 10 #************************************************************************* |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 # | 103 # |
104 do_catchsql_test 2.0 { | 104 do_catchsql_test 2.0 { |
105 CREATE VIRTUAL TABLE tX USING fts3tokenize(nosuchtokenizer); | 105 CREATE VIRTUAL TABLE tX USING fts3tokenize(nosuchtokenizer); |
106 } {1 {unknown tokenizer: nosuchtokenizer}} | 106 } {1 {unknown tokenizer: nosuchtokenizer}} |
107 | 107 |
108 do_catchsql_test 2.1 { | 108 do_catchsql_test 2.1 { |
109 CREATE VIRTUAL TABLE t4 USING fts3tokenize; | 109 CREATE VIRTUAL TABLE t4 USING fts3tokenize; |
110 SELECT * FROM t4; | 110 SELECT * FROM t4; |
111 } {1 {SQL logic error or missing database}} | 111 } {1 {SQL logic error or missing database}} |
112 | 112 |
| 113 do_catchsql_test 2.2 { |
| 114 CREATE VIRTUAL TABLE t USING fts4(tokenize=simple""); |
| 115 } {0 {}} |
| 116 |
| 117 ifcapable fts3_unicode { |
| 118 do_catchsql_test 2.3 { |
| 119 CREATE VIRTUAL TABLE u USING fts4(tokenize=unicode61""); |
| 120 } {1 {unknown tokenizer}} |
| 121 } |
| 122 |
113 | 123 |
114 finish_test | 124 finish_test |
OLD | NEW |