aboutsummaryrefslogtreecommitdiff
path: root/test/enc3.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/enc3.test')
-rw-r--r--test/enc3.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/enc3.test b/test/enc3.test
index 1d8a25816..7ede2b716 100644
--- a/test/enc3.test
+++ b/test/enc3.test
@@ -62,7 +62,7 @@ ifcapable {bloblit && utf16} {
execsql {
CREATE TABLE t2(a);
INSERT INTO t2 VALUES(x'61006200630064006500');
- SELECT CAST(a AS text) FROM t2 WHERE a LIKE 'abc%';
+ SELECT CAST(a AS text) FROM t2 WHERE CAST(a AS text) LIKE 'abc%';
}
} {abcde}
do_test enc3-2.3 {
@@ -72,7 +72,8 @@ ifcapable {bloblit && utf16} {
} {abcde}
do_test enc3-2.4 {
execsql {
- SELECT rowid FROM t2 WHERE a LIKE x'610062002500';
+ SELECT rowid FROM t2
+ WHERE CAST(a AS text) LIKE CAST(x'610062002500' AS text);
}
} {1}
}