| OLD | NEW |
| 1 # 2012 May 25 | 1 # 2012 May 25 |
| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 foreach {tn query snippet} { | 153 foreach {tn query snippet} { |
| 154 2 "row" { | 154 2 "row" { |
| 155 ...returns the value of y on the same [row] that contains | 155 ...returns the value of y on the same [row] that contains |
| 156 the maximum x value. | 156 the maximum x value. |
| 157 } | 157 } |
| 158 3 "ROW" { | 158 3 "ROW" { |
| 159 ...returns the value of y on the same [row] that contains | 159 ...returns the value of y on the same [row] that contains |
| 160 the maximum x value. | 160 the maximum x value. |
| 161 } | 161 } |
| 162 4 "rollback" { | 162 4 "rollback" { |
| 163 ...[ROLLBACK]. Instead, the pending statement | 163 Pending statements no longer block [ROLLBACK]. Instead, the pending |
| 164 will return SQLITE_ABORT upon next access after the [ROLLBACK]. | 164 statement will return SQLITE_ABORT upon... |
| 165 } | 165 } |
| 166 5 "rOllback" { | 166 5 "rOllback" { |
| 167 ...[ROLLBACK]. Instead, the pending statement | 167 Pending statements no longer block [ROLLBACK]. Instead, the pending |
| 168 will return SQLITE_ABORT upon next access after the [ROLLBACK]. | 168 statement will return SQLITE_ABORT upon... |
| 169 } | 169 } |
| 170 6 "lang*" { | 170 6 "lang*" { |
| 171 Added support for the FTS4 [languageid] option. | 171 Added support for the FTS4 [languageid] option. |
| 172 } | 172 } |
| 173 } { | 173 } { |
| 174 do_test 2.$tn { | 174 do_test 2.$tn { |
| 175 set q [mapdoc $query] | 175 set q [mapdoc $query] |
| 176 execsql { | 176 execsql { |
| 177 SELECT snippet(t2, -1, '[', ']', '...', 15) FROM t2 WHERE t2 MATCH $q | 177 SELECT snippet(t2, -1, '[', ']', '...', 15) FROM t2 WHERE t2 MATCH $q |
| 178 } | 178 } |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 "unicode61", "tokenchars=@.", "separators=1234567890" | 580 "unicode61", "tokenchars=@.", "separators=1234567890" |
| 581 ); | 581 ); |
| 582 SELECT token FROM ft1 WHERE input = 'berlin@street123sydney.road'; | 582 SELECT token FROM ft1 WHERE input = 'berlin@street123sydney.road'; |
| 583 } { | 583 } { |
| 584 berlin@street sydney.road | 584 berlin@street sydney.road |
| 585 } | 585 } |
| 586 | 586 |
| 587 } | 587 } |
| 588 | 588 |
| 589 finish_test | 589 finish_test |
| OLD | NEW |