mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Speed up base85() conversions and sync w/trunk.
FossilOrigin-Name: 17b823500a2ed135c1f40aa7f4d87ba5b2eab35c0abd9e0856041cf0f510cbee
This commit is contained in:
@ -50,7 +50,16 @@ do_icu_expr_test 1.6 { "(x OR y)" } {PHRASE 3 0 ( x or y )}
|
||||
# is passed to the tokenizer.
|
||||
#
|
||||
do_icu_expr_test 1.7 {a:word} {PHRASE 0 0 word}
|
||||
do_icu_expr_test 1.8 {d:word} {PHRASE 3 0 d:word}
|
||||
# do_icu_expr_test 1.8 {d:word} {PHRASE 3 0 d:word}
|
||||
do_test 1.8 {
|
||||
set res [
|
||||
db one {SELECT fts3_exprtest('icu en_US', 'd:word', 'a', 'b', 'c')}
|
||||
]
|
||||
expr {
|
||||
$res=="PHRASE 3 0 d:word" ||
|
||||
$res=="AND {AND {PHRASE 3 0 d} {PHRASE 3 0 :}} {PHRASE 3 0 word}"
|
||||
}
|
||||
} 1
|
||||
|
||||
set sqlite_fts3_enable_parentheses 0
|
||||
|
||||
|
@ -82,6 +82,8 @@ do_faultsim_test 1 -prep {
|
||||
multiplex_restore_db
|
||||
sqlite3 db file:test.db?8_3_names=1
|
||||
sqlite3_multiplex_control db main chunk_size [expr 256*1024]
|
||||
execsql { PRAGMA journal_mode = truncate }
|
||||
execsql { PRAGMA synchronous = off }
|
||||
} -body {
|
||||
execsql {
|
||||
UPDATE t1 SET a=randomblob(12), b=randomblob(1500) WHERE (rowid%32)=0
|
||||
|
Reference in New Issue
Block a user