/ Check-in [ce08206b]
Login

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

Overview
Comment:Add a test for an untested branch in fts5_expr.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fts5
Files: files | file ages | folders
SHA1: ce08206b5c5bf6a81decf20c99a524dd92c3715b
User & Date: dan 2015-05-18 18:03:06
Context
2015-05-18
18:24
Fix a bug in test script fts5fault4.test. check-in: a5080593 user: dan tags: fts5
18:03
Add a test for an untested branch in fts5_expr.c. check-in: ce08206b user: dan tags: fts5
17:50
Improve test coverage of fts5_config.c. check-in: 47dbfadb user: dan tags: fts5
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts5/test/fts5ea.test.

    71     71     8 {nosuch: a nosuch2: b}         {no such column: nosuch}
    72     72     9 {addr: a nosuch2: b}           {no such column: nosuch2}
    73     73     10 {NOT}                          {fts5: syntax error near "NOT"}
    74     74     11 {a AND "abc}                  {unterminated string}
    75     75   
    76     76     12 {NEAR(a b, xyz)}              {expected integer, got "xyz"}
    77     77     13 {NEAR(a b, // )}              {fts5: syntax error near "/"}
           78  +  14 {NEAR(a b, "xyz" )}           {expected integer, got ""xyz""}
    78     79   } {
    79     80     do_catchsql_test 3.$tn {SELECT fts5_expr($expr, 'name', 'addr')} [list 1 $err]
    80     81   }
    81     82   
    82     83   #-------------------------------------------------------------------------
    83     84   # Experiment with a tokenizer that considers " to be a token character.
    84     85   #