OLD | NEW |
1 # 2006 October 19 | 1 # 2006 October 19 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. | 3 # The author disclaims copyright to this source code. |
4 # | 4 # |
5 #************************************************************************* | 5 #************************************************************************* |
6 # This file implements regression tests for SQLite library. The focus | 6 # This file implements regression tests for SQLite library. The focus |
7 # of this script is testing handling of edge cases for various doclist | 7 # of this script is testing handling of edge cases for various doclist |
8 # merging functions in the FTS2 module query logic. | 8 # merging functions in the FTS2 module query logic. |
9 # | 9 # |
10 # $Id: fts2g.test,v 1.3 2007/11/16 00:23:08 shess Exp $ | 10 # $Id: fts2g.test,v 1.3 2007/11/16 00:23:08 shess Exp $ |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'also OR this'} | 84 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'also OR this'} |
85 } {1 2} | 85 } {1 2} |
86 | 86 |
87 # Empty left and right in docListOrMerge(). Each term matches neither | 87 # Empty left and right in docListOrMerge(). Each term matches neither |
88 # row, and when combined there was an assertion failure. | 88 # row, and when combined there was an assertion failure. |
89 do_test fts2g-1.13 { | 89 do_test fts2g-1.13 { |
90 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'something OR nothing'} | 90 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'something OR nothing'} |
91 } {} | 91 } {} |
92 | 92 |
93 finish_test | 93 finish_test |
OLD | NEW |