mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
And yet another sqlite release with broken snippet()
This commit is contained in:
parent
6404e824d6
commit
da82b673f0
@ -143,7 +143,7 @@ class FTSTest(BaseTest):
|
|||||||
self.ae(conn.search('''"don't"'''), [("你>don't<叫mess",)])
|
self.ae(conn.search('''"don't"'''), [("你>don't<叫mess",)])
|
||||||
self.ae(conn.search("你"), [(">你<don't叫mess",)])
|
self.ae(conn.search("你"), [(">你<don't叫mess",)])
|
||||||
import apsw
|
import apsw
|
||||||
if apsw.sqlitelibversion() not in ('3.44.0', '3.44.1'):
|
if apsw.sqlitelibversion() not in ('3.44.0', '3.44.1', '3.44.2'):
|
||||||
# see https://www.sqlite.org/forum/forumpost/d16aeb397d
|
# see https://www.sqlite.org/forum/forumpost/d16aeb397d
|
||||||
self.ae(conn.search("叫"), [("你don't>叫<mess",)])
|
self.ae(conn.search("叫"), [("你don't>叫<mess",)])
|
||||||
# }}}
|
# }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user