Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/sqlite/src/test/enc3.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/e_walhook.test ('k') | third_party/sqlite/src/test/expr.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/enc3.test
diff --git a/third_party/sqlite/src/test/enc3.test b/third_party/sqlite/src/test/enc3.test
index 1d8a258165217c370934fbc04063803fa9827892..7ede2b716f427d83ecaf5d2dac84f6347f9ff16d 100644
--- a/third_party/sqlite/src/test/enc3.test
+++ b/third_party/sqlite/src/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}
}
« no previous file with comments | « third_party/sqlite/src/test/e_walhook.test ('k') | third_party/sqlite/src/test/expr.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698