1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Do not run the fts2i.test unless the FTS2 module is available. (CVS 3601)

FossilOrigin-Name: 310f68585188ae49b603af9bdef4ee7738ae37c0
This commit is contained in:
drh
2007-01-24 03:46:35 +00:00
parent e0201fc0e2
commit 4e653855ab
3 changed files with 14 additions and 8 deletions

View File

@@ -7,12 +7,18 @@
# focus here is testing handling of UPDATE when using UTF-16-encoded
# databases.
#
# $Id: fts2i.test,v 1.1 2007/01/19 22:59:57 shess Exp $
# $Id: fts2i.test,v 1.2 2007/01/24 03:46:35 drh Exp $
#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
# If SQLITE_ENABLE_FTS2 is defined, omit this file.
ifcapable !fts2 {
finish_test
return
}
# Return the UTF-16 representation of the supplied UTF-8 string $str.
# If $nt is true, append two 0x00 bytes as a nul terminator.
# NOTE(shess) Copied from capi3.test.