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

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

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/fts3ah.test ('k') | third_party/sqlite/src/test/fts3an.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/fts3al.test
diff --git a/third_party/sqlite/src/test/fts3al.test b/third_party/sqlite/src/test/fts3al.test
index be01ecb7c0a5175debf5b48b6f28efdbec27a6c0..02cc0d1695297c7394e97be5bb971e8b1b619973 100644
--- a/third_party/sqlite/src/test/fts3al.test
+++ b/third_party/sqlite/src/test/fts3al.test
@@ -53,6 +53,10 @@ do_test fts3al-1.3 {
#
# The trailing and leading hi-bit chars help with code which tests for
# isspace() to coalesce multiple spaces.
+#
+# UPDATE: The above is no longer true; there is no such code in fts3.
+# But leave the test in just the same.
+#
set word "\x80xxxxx\x80xxxxx\x80xxxxx\x80xxxxx\x80xxxxx\x80xxxxx\x80"
set phrase1 "$word $word $word target $word $word $word"
@@ -64,6 +68,6 @@ db eval "INSERT INTO t4 (content) VALUES ('$phrase2')"
do_test fts3al-1.4 {
execsql {SELECT rowid, length(snippet(t4)) FROM t4 WHERE t4 MATCH 'target'}
-} {1 111 2 117}
+} {1 241 2 247}
finish_test
« no previous file with comments | « third_party/sqlite/src/test/fts3ah.test ('k') | third_party/sqlite/src/test/fts3an.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698