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 FTS3 module query logic. | 8 # merging functions in the FTS3 module query logic. |
9 # | 9 # |
10 # $Id: fts3ag.test,v 1.2 2007/11/16 00:23:08 shess Exp $ | 10 # $Id: fts3ag.test,v 1.2 2007/11/16 00:23:08 shess Exp $ |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'also OR this'} | 85 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'also OR this'} |
86 } {1 2} | 86 } {1 2} |
87 | 87 |
88 # Empty left and right in docListOrMerge(). Each term matches neither | 88 # Empty left and right in docListOrMerge(). Each term matches neither |
89 # row, and when combined there was an assertion failure. | 89 # row, and when combined there was an assertion failure. |
90 do_test fts3ag-1.13 { | 90 do_test fts3ag-1.13 { |
91 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'something OR nothing'} | 91 execsql {SELECT rowid FROM t1 WHERE t1 MATCH 'something OR nothing'} |
92 } {} | 92 } {} |
93 | 93 |
94 finish_test | 94 finish_test |
OLD | NEW |