mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
DBD::SQLite - apply patch in RT#60698 which fixes tests that newly failed with SQLite 3.7.x
This commit is contained in:
parent
7fd4d30880
commit
faec7efc79
2 changed files with 7 additions and 0 deletions
2
Changes
2
Changes
|
@ -2,6 +2,8 @@ Changes for Perl extension DBD-SQLite
|
|||
|
||||
1.30_04 to be released
|
||||
- Updated to SQLite 3.7.2 (DUNCAND)
|
||||
- Resolved #60698: "Test failures with SQLite 3.7", using included
|
||||
patch by Niko Tyni (ntyni@debian.org) of t/lib/Test.pm (DUNCAND)
|
||||
- Added support for FTS3 tokenizers written in Perl. Added tests
|
||||
and documentation on how to use FTS3. Changed compilation flag
|
||||
to use the recommanded -DSQLITE_ENABLE_FTS3_PARENTHESIS
|
||||
|
|
|
@ -8,6 +8,7 @@ use File::Spec ();
|
|||
use Test::More ();
|
||||
|
||||
use vars qw{$VERSION @ISA @EXPORT @CALL_FUNCS};
|
||||
my $parent;
|
||||
BEGIN {
|
||||
$VERSION = '1.30_03';
|
||||
@ISA = 'Exporter';
|
||||
|
@ -15,6 +16,8 @@ BEGIN {
|
|||
|
||||
# Allow tests to load modules bundled in /inc
|
||||
unshift @INC, 'inc';
|
||||
|
||||
$parent = $$;
|
||||
}
|
||||
|
||||
# Always load the DBI module
|
||||
|
@ -22,6 +25,8 @@ use DBI ();
|
|||
|
||||
# Delete temporary files
|
||||
sub clean {
|
||||
return
|
||||
if $$ != $parent;
|
||||
unlink( 'foo' );
|
||||
unlink( 'foo-journal' );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue