mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Add the experimental API sqlite3_strnicmp(). Modify fts3 so that in terms like 'column_name:token' the column_name is interpreted in a case-insenstive fashion. Ticket #3996. (CVS 6950)
FossilOrigin-Name: 4571aa9e9142db465ae8250b0adf27e0a094331a
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this script is testing the FTS3 module.
|
||||
#
|
||||
# $Id: fts3expr.test,v 1.8 2009/07/10 09:24:43 danielk1977 Exp $
|
||||
# $Id: fts3expr.test,v 1.9 2009/07/28 16:44:26 danielk1977 Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -122,9 +122,12 @@ do_test fts3expr-1.11 {
|
||||
do_test fts3expr-1.14 {
|
||||
test_fts3expr {a:one two}
|
||||
} {AND {PHRASE 0 0 one} {PHRASE 3 0 two}}
|
||||
do_test fts3expr-1.15 {
|
||||
do_test fts3expr-1.15.1 {
|
||||
test_fts3expr {one b:two}
|
||||
} {AND {PHRASE 3 0 one} {PHRASE 1 0 two}}
|
||||
do_test fts3expr-1.15.2 {
|
||||
test_fts3expr {one B:two}
|
||||
} {AND {PHRASE 3 0 one} {PHRASE 1 0 two}}
|
||||
|
||||
do_test fts3expr-1.16 {
|
||||
test_fts3expr {one AND two AND three AND four AND five}
|
||||
|
Reference in New Issue
Block a user