mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Omit calls to test_destructor16() if SQLITE_OMIT_UTF16 defined. (CVS 5508)
FossilOrigin-Name: 2d5cec53c2f31875d198d81ac4fd54e7066ea0ff
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing built-in functions.
|
||||
#
|
||||
# $Id: func.test,v 1.84 2008/07/16 18:20:09 drh Exp $
|
||||
# $Id: func.test,v 1.85 2008/07/31 01:47:11 shane Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -455,11 +455,13 @@ if {[db eval {PRAGMA encoding}]=="UTF-8"} {
|
||||
}
|
||||
} {{hello world} 1}
|
||||
} else {
|
||||
do_test func-12.1-utf16 {
|
||||
execsql {
|
||||
SELECT test_destructor16('hello world'), test_destructor_count();
|
||||
ifcapable {utf16} {
|
||||
do_test func-12.1-utf16 {
|
||||
execsql {
|
||||
SELECT test_destructor16('hello world'), test_destructor_count();
|
||||
}
|
||||
} {{hello world} 1}
|
||||
}
|
||||
} {{hello world} 1}
|
||||
}
|
||||
do_test func-12.2 {
|
||||
execsql {
|
||||
|
Reference in New Issue
Block a user