diff options
author | drh <drh@noemail.net> | 2016-11-04 12:03:26 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-11-04 12:03:26 +0000 |
commit | b1c9633493e484d541bd1a9c90ee2108dbcb15f8 (patch) | |
tree | 6beb996bb29525ac2fd8b16c40d143d7000527cc /test/cursorhint2.test | |
parent | 54fc5cc2ae7c2e8ad15d97b7328bf4af3649bc8a (diff) | |
download | sqlite-b1c9633493e484d541bd1a9c90ee2108dbcb15f8.tar.gz sqlite-b1c9633493e484d541bd1a9c90ee2108dbcb15f8.zip |
Mark the ICU extension functions as deterministic.
FossilOrigin-Name: afbbb6c66a85ff3f4c8dce677e0892a2a51d2b8e
Diffstat (limited to 'test/cursorhint2.test')
-rw-r--r-- | test/cursorhint2.test | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/cursorhint2.test b/test/cursorhint2.test index 3444fdf44..bc447d0f2 100644 --- a/test/cursorhint2.test +++ b/test/cursorhint2.test @@ -164,17 +164,19 @@ do_extract_hints_test 2.10 { x2 {AND(EQ(c1,ADD(32,32)),EQ(c0,r[2]))} } -do_extract_hints_test 2.11 { - SELECT * FROM x1 LEFT JOIN x2 ON (a=x) WHERE x2.b LIKE 'abc%' -} { - x2 {AND(expr,EQ(c0,r[2]))} +ifcapable !icu { + # This test only works using the built-in LIKE, not the ICU LIKE extension. + do_extract_hints_test 2.11 { + SELECT * FROM x1 LEFT JOIN x2 ON (a=x) WHERE x2.b LIKE 'abc%' + } { + x2 {AND(expr,EQ(c0,r[2]))} + } } -do_extract_hints_test 2.11 { +do_extract_hints_test 2.12 { SELECT * FROM x1 LEFT JOIN x2 ON (a=x) WHERE coalesce(x2.b, 1) } { x2 {EQ(c0,r[2])} } finish_test - |