mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-08 06:38:12 -04:00
two-arg fts3_tokenizer() is disabled by default for security concerns as of SQLite 3.11.0, unless DBD::SQLite is compiled with -DSQLITE_ENABLE_FTS3_TOKENIZER
This commit is contained in:
parent
0c5895c77f
commit
abed684c43
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ BEGIN {
|
||||||
if (!grep /ENABLE_FTS3/, DBD::SQLite::compile_options()) {
|
if (!grep /ENABLE_FTS3/, DBD::SQLite::compile_options()) {
|
||||||
plan skip_all => 'FTS3 is disabled for this DBD::SQLite';
|
plan skip_all => 'FTS3 is disabled for this DBD::SQLite';
|
||||||
}
|
}
|
||||||
|
if ($DBD::SQLite::sqlite_version_number >= 3011000 and !grep /ENABLE_FTS3_TOKENIZER/, DBD::SQLite::compile_options()) {
|
||||||
|
plan skip_all => 'FTS3 tokenizer is disabled for this DBD::SQLite';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
use Test::NoWarnings;
|
use Test::NoWarnings;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue