/ Check-in [ed240514]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Test that the unicode61 tokenchars= and separators= options work with the fts3tokenize virtual table.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ed24051462c09220ebfb82a347b4a2b5c820ef63
User & Date: dan 2013-09-18 11:16:32
Context
2013-09-26
11:04
Fix a faulty assert() in sqlite3BtreeBeginTrans() that may fail in shared-cache mode. check-in: 1e1321ee user: dan tags: trunk
2013-09-24
19:07
Merge updates from trunk. check-in: 435ce3b3 user: mistachkin tags: toTypeFuncs
2013-09-18
11:16
Test that the unicode61 tokenchars= and separators= options work with the fts3tokenize virtual table. check-in: ed240514 user: dan tags: trunk
2013-09-17
23:36
Clear the current time value on prepared statements when the prepared statement is reset. check-in: cebd6fc5 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to test/fts4unicode.test.

   535    535   } {
   536    536     one           * 1 1 one           0 1 1 
   537    537     onebtwoathree * 1 1 onebtwoathree 0 1 1 
   538    538     three         * 1 1 three         0 1 1 
   539    539     two           * 1 1 two           0 1 1
   540    540   }
   541    541   
          542  +# Test that the tokenchars and separators options work with the 
          543  +# fts3tokenize table.
          544  +#
          545  +do_execsql_test 11.1 {
          546  +  CREATE VIRTUAL TABLE ft1 USING fts3tokenize(
          547  +    "unicode61", "tokenchars=@.", "separators=1234567890"
          548  +  );
          549  +  SELECT token FROM ft1 WHERE input = 'berlin@street123sydney.road';
          550  +} {
          551  +  berlin@street sydney.road
          552  +}
   542    553   
   543    554   finish_test
   544    555   
   545    556   
   546    557   
   547    558