25 lines
705 B
Diff
25 lines
705 B
Diff
--- DBD-SQLite-1.31/t/43_fts3.t 2010-09-15 08:16:43.000000000 +0100
|
|
+++ DBD-SQLite-1.31/t/43_fts3.t 2010-09-15 14:50:58.529161202 +0100
|
|
@@ -90,6 +90,11 @@
|
|
}
|
|
|
|
# queries
|
|
+SKIP: {
|
|
+ skip "These tests require SQLite compiled with ENABLE_FTS3_PARENTHESIS option", scalar @tests
|
|
+ unless DBD::SQLite->can('compile_options') &&
|
|
+ grep /ENABLE_FTS3_PARENTHESIS/, DBD::SQLite::compile_options();
|
|
+
|
|
my $sql = "SELECT docid FROM try_fts3 WHERE content MATCH ?";
|
|
for my $t (@tests) {
|
|
my ($query, @expected) = @$t;
|
|
@@ -97,6 +102,9 @@
|
|
my $results = $dbh->selectcol_arrayref($sql, undef, $query);
|
|
is_deeply($results, \@expected, "$query (unicode is $use_unicode)");
|
|
}
|
|
+
|
|
+}
|
|
+
|
|
}
|
|
|
|
|